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: 

Driving parameters to sub-assemblies

0 REPLIES 0
Reply
Message 1 of 1
KaufmanHome
217 Views, 0 Replies

Driving parameters to sub-assemblies

So, I have been able to push parameters to the children of an assembly but, for pushing parameters to the sub-assemblies it is different.

Presently to push parameters to a sub-assembly I need to stabilize the sub-assembly in the parent browser.  For pushing parameters to child parts I can just grab the name, simple.

 

Code for child parts

 

pBaseDimA1= Parameter("DimA1")  ’from excel link in parent assembly

    ComponentSubItem = ThisApplication.ActiveDocument.ReferencedDocuments.Item(1).DisplayName

    Parameter(ComponentSubItem, "DimA1") = pBaseDimA1

 

Code for child sub-assemblies (“-PlenumFrame:1” needs to be stabilized in browser)

 

pBaseDimA1= Parameter("DimA1")  ’from excel link in parent assembly

    ComponentSubItem = ThisApplication.ActiveDocument.ReferencedDocuments.Item(1).DisplayName

    Parameter(MakePath(ComponentSubItem,"-PlenumFrame:1"), "DimA1") = pBaseDimA1

 

Is there a method to push parameters to the child sub-assemblies without needing stabilization?

0 REPLIES 0

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

Post to forums  

Autodesk Design & Make Report