The MPCSection object defines the properties of a multi-point constraint section.
The MPCSection object is derived from the Section object.
sectionApi.sections()[name]
This method creates a MPCSection object.
sectionApi.MPCSection
odb_MPCSection& MPCSection(const odb_String& name, const odb_String& mpcType, const odb_String& userMode, int userType);
Required arguments
An odb_String specifying the repository key.
An odb_String 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
An odb_String 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.