General Commands > About General Commands > model.extraDim

model.extraDim
Create attachments of extra dimensions.
Syntax
model.extraDim().create(<tag>, type);
model.extraDim(<tag>).set(property,<value>);
model.extraDim(<tag>).model(<mtag>);
model.extraDim(<tag>).selection();
model.extraDim(<tag>).selection("point");
model.extraDim(<tag>).properties();
model.extraDim(<tag>).getType(property);
model.extraDim(<tag>).model();
Description
model.extraDim().create(<tag>, type) creates an extra dimension feature of the given type. The supported types are AttachDimension, PointsToAttach, and Integration.
model.extraDim(<tag>).set(property,<value>) specifies properties relevant for the selected extra dimension feature type.
Properties for AttachDimension: extradim
PointsToAttach has no properties.
Properties for Integration: opname, intrule, intorder, frame, axisym
model.extraDim(<tag>).model(<mtag>) sets the model node. For features of type AttachDimension, this defines the base model node. For features of type PointsToAttach and Integration, this defines the extra dimension model node.
model.extraDim(<tag>).selection();
Returns the selection of the feature (for features of type AttachDimension and Integration).
model.extraDim(<tag>).selection("point") returns the selection of points to attach (for features of type PointsToAttach).
model.extraDim(<tag>).properties() returns the list of assigned properties as a string array.
model.extraDim(<tag>).getType(property) returns the value of the specified property.
model.extraDim(<tag>).model() returns the model node.