julian,tienes mas videos aplicando este concepto para hacer automatizacion de planos mediante la api de ilogic que se vean mas nitidos o puedes compartirnos el codigo del ejercicio...te agradceria mucho
Hi,,, first thanks for your awesome tutorial, I tried to apply the rules to automate my drawing process based on this tutorial, but i got problem like this: "Error in rule: Drawing-automation, in document: Air-Slide Conveyor.iam Unable to cast COM object of type 'Inventor._DocumentClass' to interface type 'Inventor.PartDocument'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{29F0D463-C114-11D2-B77F-0060B0F159EF}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))." "System.InvalidCastException: Unable to cast COM object of type 'Inventor._DocumentClass' to interface type 'Inventor.PartDocument'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{29F0D463-C114-11D2-B77F-0060B0F159EF}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at LmiRuleScript.Main() at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem) at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)" The rules still work for part.ipt file, but didnt work for assembly file.. Can you help with to solves this? youre help would be much appreciated.
is there someplace I can find an explanation of the syntax for the API code?
Great show.
Can I get sample code of demo please.
Could I get some sample code for the automatic drawing creation?
Thanks
julian,tienes mas videos aplicando este concepto para hacer automatizacion de planos mediante la api de ilogic que se vean mas nitidos o puedes compartirnos el codigo del ejercicio...te agradceria mucho
Juan hola, debes hacerle la pregunta al autor del video: Ian Cross
Hi,,, first thanks for your awesome tutorial,
I tried to apply the rules to automate my drawing process based on this tutorial, but i got problem like this:
"Error in rule: Drawing-automation, in document: Air-Slide Conveyor.iam
Unable to cast COM object of type 'Inventor._DocumentClass' to interface type 'Inventor.PartDocument'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{29F0D463-C114-11D2-B77F-0060B0F159EF}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))."
"System.InvalidCastException: Unable to cast COM object of type 'Inventor._DocumentClass' to interface type 'Inventor.PartDocument'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{29F0D463-C114-11D2-B77F-0060B0F159EF}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at LmiRuleScript.Main()
at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)
at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)"
The rules still work for part.ipt file, but didnt work for assembly file.. Can you help with to solves this?
youre help would be much appreciated.
Great where i can find this code?