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: 

passing a user parameter to a derived part

1 REPLY 1
SOLVED
Reply
Message 1 of 2
cadmanagershat
291 Views, 1 Reply

passing a user parameter to a derived part

I am attempting to pass the user parameter (DERIVED_MASS) from base component to derived part in order to use this to populate the mass of the derive so they are identical.

I have a rule in the assembly which passes the mass properties to the user parameter.

' ADDS THE MASS TO PARAMETER FOR EXPORT WHEN CREATING A DERIVED PART FROM ASSEMBLY FILE
DERIVED_MASS = iProperties.Mass

iLogicVb.UpdateWhenDone = True

 

I have a rule in the part template ready to pick up this parameter and populate the mass properties with it's value.

iProperties.Mass = DERIVED_MASS

 

The second rule runs only after opening it to edit so I guess I need to add something to recognize the parameter immediately.

Can anybody help me recognize this parameter without the user accessing the rule please?

1 REPLY 1
Message 2 of 2

Sorted.

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

Post to forums  

Autodesk Design & Make Report