I want to be able to influence the value of a part parameter using ilogic in a drawing file.
Currently I have a Input Box list set up in a drawing file with numberous options for the user to select. (Via a MultiValue Parameter)
How can I link the selection of the Input Box list to alter the value of a parameter in a related part file?
E.g - Input User Box - Select Beam size: 1/2/3
User selects "2"
Part file parameters update to suit User selection.
P.s I have tried using the ParameterMakePath fuction but without success,
Solved! Go to Solution.
The other trouble I am having is updating the relative parts and assembly files which this ilogic will affect. I have tried to use my events trigger & set to any paramater change but I cant get it to work. I have to open the parts and click update in order for the drawing to update.
Any help on this issue would be much appreciated,
Try adding a rule to your "child parts" as follows:
localTrigger = YourParameter InventorVb.DocumentUpdate()
Replace "YourParameter" with the name of whatever parameter your trying to change from the drawing file.
Adding that to my child part does the job. Thanks. I also added it to the part above it (which my child part is derived into) and the assembly file above that. Neither of which are updating still. I derived in the paramater & reference in the code of each of the 2 files above my child part but they still wont update.
If I run the Rules the parts update but I dont think I can run the rules from event triggers base on a lower parts paramater change.
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!