The ConnectorOrientation object is used to assign a connector orientation to a connector.
import assembly mdb.models[name].rootAssembly.connectorOrientations[i] import odbAccess session.odbs[name].rootAssembly.connectorOrientations[i]
This method creates a ConnectorOrientation object.
mdb.models[name].rootAssembly.ConnectorOrientation session.odbs[name].rootAssembly.ConnectorOrientation
Required argument
A Set object specifying the region to which the orientation is assigned.
Optional arguments
A DatumCsys object specifying the local coordinate system of the first connector point. This value may be None, indicating the global coordinate system.
A SymbolicConstant specifying the axis of a datum coordinate system about which an additional rotation is applied. Possible values are AXIS_1, AXIS_2, and AXIS_3. The default value is AXIS_1.
A Float specifying the angle of the additional rotation. The default value is 0.0.
A Boolean specifying whether or not the second connector point is to use the same local coordinate system, axis, and angle as the first point. The default value is ON.
A DatumCsys object specifying the local coordinate system of the second connector point. This value may be None, indicating the global coordinate system.
A SymbolicConstant specifying the axis of a datum coordinate system about which an additional rotation is applied. Possible values are AXIS_1, AXIS_2, and AXIS_3. The default value is AXIS_1.
A Float specifying the angle of the additional rotation. The default value is 0.0.
Return value
A ConnectorOrientation object.
Exceptions
This method modifies the ConnectorOrientation object.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the ConnectorOrientation method.
Return value
Exceptions
The ConnectorOrientation object has members with the same names and descriptions as the arguments to the ConnectorOrientation method.