ConfigurationCount Method - Intergraph Smart 3D - Reference Data - Hexagon PPM

Intergraph Smart 3D Hangers and Supports Reference Data

Language
English
Product
Intergraph Smart 3D
Subproduct
Hangers and Supports
Search by Category
Reference Data
Smart 3D Version
13.1
Standard Database for Smart Reference Data Version
2020 (12.0)

The ConfigurationCount method of the CustomSupportDefinition class defines the number of route toggle configurations that are supported by the assembly and is defined as follows:

public override int ConfigurationCount

The method returns the number of configurations that are applicable for the assembly. The following code provides a sample implementation of the ConfigurationCount method:

public override int ConfigurationCount

{

get

{

return 2;

}

}

ConfigureSupport() handles different toggles by checking the configuration value and altering the joints accordingly for each toggle. For example, implementation in ConfigureSupport() would be as follows:

if (Configuration ==1)

{

JointHelper.CreateRigidJoint(BOTROD, "RodEnd1", BOTEYENUT, "RodEnd", Plane.XY, Plane.XY, Axis.X, Axis.X,0,0, 0);

else

JointHelper.CreateRigidJoint(BOTROD, "RodEnd1", BOTEYENUT, "RodEnd", Plane.XY, Plane.XY, Axis.X, Axis.NegativeX,0,0, 0);

}