How can i run a rule in an assembly to control a parameter that occurs in different parts
ie to turn a feature on or off on mutiple parts
Hello.
First you have to link parameters between the parts and the assembly. That way you can control the parts deffinitions in the assembly enviroment.
Next you have to apply rules in the parts to suppress or not the features you want to control.
An example: To supress a hole in a part:
make a user multivalue paramenter in the assembly called "hole" and give a multivalue 1 and 2.
Link that paramenter to the part.
In a part make this rule:
If hole=1 then
feature.isactive("hole")=true
elseif hole=2 then
feature.isactive("hole")=False
endif
with this small rule, you can unsuppress the hole if you input in the assembly inviromente the value 1 or supress the hole if you choose the value 2.
See the inventor ilogic tutorials to understand better.
Yes.
All you have to do is link each part parameter to the main assembly.
There are several classes on iLogic here http://au.autodesk.com