The MaterialOrientation object represents the orientation of the material properties and composite layups.
import section mdb.models[name].parts[name].compositeLayups[i].orientation mdb.models[name].parts[name].materialOrientations[i] import odbAccess session.odbs[name].parts[name].materialOrientations[i] session.odbs[name].rootAssembly.instances[name]\ .materialOrientations[i] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i]\ .instance.materialOrientations[i]
This method creates a MaterialOrientation object.
mdb.models[name].parts[name].MaterialOrientation
Required arguments
Optional arguments
A Set object specifying a region for which the material orientation is defined.
A DatumCsys object specifying the local coordinate system or None, describing the material orientation for the given region.
A SymbolicConstant specifying the axis of a datum coordinate system about which an additional rotation is applied. For shells this axis is also the shell normal. 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 SymbolicConstant specifying the stack or thickness direction. Possible values are STACK_1, STACK_2, STACK_3, and STACK_ORIENTATION. The default value is STACK_3.
A String specifying the name of the DiscreteField object specifying the orientation. The default value is an empty string.
A SymbolicConstant specifying the method used to define the material orientation. If orientationType=SYSTEM, the region and localCsys arguments are required. If orientationType=FIELD, the fieldName argument is required. Possible values are GLOBAL, SYSTEM, FIELD, and USER. The default value is GLOBAL.
Return value
A MaterialOrientation object.
Exceptions
This method creates a MaterialOrientation object.
mdb.models[name].parts[name].compositeLayups[name].ReferenceOrientation
Required arguments
Optional arguments
A DatumCsys object specifying the local coordinate system or None, describing the material orientation for the given region.
A SymbolicConstant specifying the axis of a datum coordinate system about which an additional rotation is applied. For shells this axis is also the shell normal. 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 SymbolicConstant specifying the stack or thickness direction. Possible values are STACK_1, STACK_2, STACK_3, and STACK_ORIENTATION. The default value is STACK_3.
A String specifying the name of the DiscreteField object specifying the orientation. The default value is an empty string.
A SymbolicConstant specifying the method used to define the material orientation. If orientationType=SYSTEM, the region and localCsys arguments are required. If orientationType=FIELD, the fieldName argument is required. Possible values are GLOBAL, SYSTEM, FIELD, and USER. The default value is GLOBAL.
A String specifying the name of the DiscreteField object specifying the additional rotation. The default value is an empty string.
A SymbolicConstant specifying the method used to describe the additional rotation when a valid orientation is specified. Possible values are ROTATION_NONE, ROTATION_ANGLE, and ROTATION_FIELD. The default value is ROTATION_NONE.
Return value
A MaterialOrientation object.
Exceptions
This method modifies the MaterialOrientation object.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the MaterialOrientation method.
Return value
Exceptions
The MaterialOrientation object has members with the same names and descriptions as the arguments to the MaterialOrientation method.
In addition, the MaterialOrientation object can have the following members:
A SymbolicConstant specifying the method used to describe the additional rotation when a valid orientation is specified. Possible values are ROTATION_NONE, ROTATION_ANGLE, and ROTATION_FIELD. The default value is ROTATION_NONE.
A String specifying the name of the DiscreteField object specifying the additional rotation. The default value is an empty string.