MPCSection(...)
This method creates a MPCSection object.
Path
mdb.models[name].MPCSection session.odbs[name].MPCSection
Required arguments
- name
A String specifying the repository key.
- mpcType
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
- userMode
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.
- userType
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.