Hey guys,
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.
Thanks
Sandy,
P.s I have tried using the ParameterMakePath fuction but without success,
Cheers,
Solved! Go to Solution.
Solved by mrattray. Go to Solution.
Thanks Mike,,
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,
Thanks
Sandy
No Luck. I still open up my child part & it still wants it to update. The parent assembly is the same.
Thanks,
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.
Thanks
Sandy
Mike, this is what I was looking for!
@mrattray wrote: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.
I'm wondering though: Is there a way to trigger the document update on any parameter in stead of having to name specific parameters? Or perhaps a rule/form combination that allows me to update using an update button in the drawing?
As you can Imagine I'd like to make my templates so that I never have to worry about this again.
Can't find what you're looking for? Ask the community or share your knowledge.