Assembly Feature Resources: Assembly Feature Impact Filter

An opening ID is an entry point used to customize business logic. Assembly Feature Impact Filter defines a representation as non selectable and filters the representation so as it can no longer be selected as impacted representation.

Note: For more information about customization by business rules, see Installation and Setup: Customize: Behavior: Data Setup: Customization by Business Rules.

This page discusses:

General Information

This opening ID is invoked whenever a clash detection is run or when a representation is selected during impact diagnosis.

The table below provides you with information related to the definition of the Opening ID.

PLM Opening ID: Assembly_Feature_Impact_Filter
Customization intent: Computation
Execution context: Client

Input Objects

Input objects must be of the following types:

  • ThisObject corresponds to a representation.
  • Parameters corresponds to the context object.

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)
}