Context Object Parameters
Parameter Name |
Type |
Read/Write |
Comments |
AssemblyFeatureImpactFilter |
Integer |
Read/Write |
Filters the representations not to be impacted. |
Sample
The following sample describes the default script to customize the rule attached to the
Assembly_Feature_Impact_Filter.
/* List all available status and their value
Cannot_be_operated = 1
Can_be_operated =2 */
ObjectDesc = ThisObject.V_description
if ( ObjectDesc == "cannot_be_operated" )
{
Parameters.SetAttributeInteger ("AssemblyFeatureImpactFilter", 1)
}
else if ( ObjectDesc == "can_be_operated" )
{
Parameters.SetAttributeInteger ("AssemblyFeatureImpactFilter", 2)
}
else
{
Parameters.SetAttributeInteger ("AssemblyFeatureImpactFilter", 2)
}