Issue with using Autodesk Inventor API ComponentOccurrence
Not applicable
10-13-2017
10:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am using the Delphi language Inventor API and I am creating a componentOccurence.
I want to access the componentOccurence.Definition.WorkPlanes to define an assembly mate constraint after.
I declare as:
-------
Occ:Inventor2017_TLB.ComponentOccurrence;
-------
Next I add a part to an assembly as:
-------
Occ:=iamdoc.ComponentDefinition.Occurrences.Add(actfileREF,OMatrix);
----
And I want to access the WorkPlanes of the Occ using:
-------
Occ.Definition.WorkPlanes
------
However the program doesn't detect the Workplanes field for the ComponentOccurrence. Does anyone know a method I can get the workplane of the part/Occurence or why the library doesn't detect the WorkPlanes field?
Kind Regards
Agostinho