Is there a way to write a set of rules so that I can switch Work Features On and Off via a Text Parameter.
I have an assembly made up of a number of parts used hundreds of times within in various sub-assemblies. If I make a particular sub-assembly 'Invisible' then subsequently 'Visible,' all work features that had previously been set to be 'Invisible' are switched to 'Visible' also.
Likewise if I simple want to set a particular Work Features' Visibility in one particular sub-assembly, I would like to be able to do this via a Text Parameter rather than having to laboriously scroll down the Assembly switching the visibility of features on and off.
At the moment if I turn the visibility of say a Work Plane On in a sub-assembly then all sub-assemblies deploying the same part switch the visibility of that Work Plane on too. Hence I cannot see my work for Work Planes.
Obviously the Global Switch under View is of no avail,
So I would like to be able to create a Text Parameter for each sub assembly and in turn each Work Feature with a Yes/No Visibility switch controlled via a set of Rules in iLogic.
Can anyone kindly help please?
Thank you so much.
CJ
Try this: http://inventortrenches.blogspot.co.nz/2013/03/turn-onoff-all-workfeatures-with-ilogic.html
Should be easier than finding a parameter to toggle - or just adapt the code to suit.
Hi Pcrawley,
Thanks for that but of course it is a blanket on/off and I need to be selective.
Indeed it is. Hence the "adapt to suit" comment. I just offered it as a starting point rather than a complete solution.
Hi Pcrawley,
Yes but sadly I don’t have the skills to modify so extensively.
Thank you for your kind suggestion anyway.