- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Issue with using Autodesk Inventor API ComponentOccurrence
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
@Anonymous
Welcome to the Autodesk User's Community..
When it comes to API and in-depth programming questions for Inventor, you should be using the Inventor Customization forum (to receive a better response). I will have the moderator move this posting over to that forum.
Mark Lancaster
& Autodesk Services MarketPlace Provider
Autodesk Inventor Certified Professional & not an Autodesk Employee
Likes is much appreciated if the information I have shared is helpful to you and/or others
Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.