The MPCSection object defines the properties of a multi-point constraint section.
The MPCSection object is derived from the Section object.
import section mdb.models[name].sections[name] import odbSection session.odbs[name].sections[name]
This method creates a MPCSection object.
mdb.models[name].MPCSection session.odbs[name].MPCSection
Required arguments
A String specifying the repository key.
A SymbolicConstant specifying the MPC type of the section. Possible values are BEAM_MPC, ELBOW_MPC, PIN_MPC, LINK_MPC, TIE_MPC, and USER_DEFINED.
Optional arguments
A SymbolicConstant specifying the mode of the MPC when it is user-defined. Possible values are DOF_MODE and NODE_MODE. The default value is DOF_MODE.
The userMode argument applies only when mpcType=USER_DEFINED.
An Int specifying to differentiate between different constraint types in a user-defined MPCSection. The default value is 0.
The userType argument applies only when mpcType=USER_DEFINED.
Return value
A MPCSection object.
Exceptions
RangeError and InvalidNameError.
The MPCSection object has members with the same names and descriptions as the arguments to the MPCSection method.