ConnectorOrientation(...)
This method assigns a connector orientation to a connector region.
Prototype
void ConnectorOrientation(const odb_Set& region, const odb_DatumCsys& csys1, odb_Enum::odb_AxisEnum axis1, float angle1, const odb_DatumCsys& csys2, odb_Enum::odb_AxisEnum axis2, float angle2);
Required arguments
- region
An OdbSet specifying a region.
- csys1
An OdbDatumCsys object specifying the first connector node local coordinate system.
- axis1
An odb_Enum::odb_AxisEnum specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation of the first connector node is applied. Possible values are odb_Enum::AXIS_1, odb_Enum::AXIS_2, and odb_Enum::AXIS_3.
- angle1
A Float specifying the angle of the additional rotation about the first connector node axis. The default value is 0.0.
- csys2
An OdbDatumCsys object specifying the second connector node local coordinate system.
- axis2
An odb_Enum::odb_AxisEnum specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation of the second connector node is applied. Possible values are odb_Enum::AXIS_1, odb_Enum::AXIS_2, and odb_Enum::AXIS_3.
- angle2
A Float specifying the angle of the additional rotation about the second connector node axis.
Return value
None.
Exceptions
- If region is not an element set:
OdbError: Connector orientation assignment requires element set.