Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iPart.FindRow and iAssembly.FindRow replacement in Model States

1 REPLY 1
Reply
Message 1 of 2
dhaworth
137 Views, 1 Reply

iPart.FindRow and iAssembly.FindRow replacement in Model States

Is there a replacement for the iPart.FindRow and iAssembly.FindRow iLogic functionality when going from iparts/iassemblies to Model States?

1 REPLY 1
Message 2 of 2
WCrihfield
in reply to: dhaworth

Not exactly.  It depends on the environment, and what you are trying to do.  A ComponentOccurrence type object, within an assembly, has the ActiveModelState property that is a Read/Write property, with a String type value (the name of the ModelState).  A DrawingView object in a drawing also has at least 2 places for this specification.  The ActiveModelState property, which is ReadOnly, and a method named SetActiveModelState, obviously for setting its value.  I don't know why they did it that way, but...  And there are lots more similar situations.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report