Share
 
 

Enumeration Example

To see an example of enumeration, open the following Sample PKT file:

Enumeration Example.pkt

The example PKT contains a subassembly that represents a barrier.

  • In the Input/Output Parameters tab, the Barrier parameter uses an enumeration group (BarrierType).
  • The subassembly contains a Switch that enables selection between four standard barrier types. The barrier types are controlled by the Default Value in the BarrierType parameter.
  • Each of the four sequences use variable values to define the parameter values for each barrier type.
  • The Geometry sequence contains the points, links, and shape that make up the geometry. The geometry for each of these points refers to the variables that are defined in the Height and Width Variables sequence.

Was this information helpful?