The ModelChange object defines model change interactions for element removal and reactivation.
The ModelChange object is derived from the Interaction object.
import interaction mdb.models[name].interactions[name]
This method creates a ModelChange object.
mdb.models[name].ModelChange
Required arguments
A String specifying the repository key.
A String specifying the name of the step in which the ModelChange object is created.
Optional arguments
A Boolean specifying whether this interaction is being used solely to indicate that model change may be required in a subsequent restart analysis (either for elements or contact pairs). The default value is OFF.
A SymbolicConstant specifying the region selection type. This argument is valid only when isRestart=False. Possible values are GEOMETRY, SKINS, STRINGERS, and ELEMENTS. The default value is GEOMETRY.
A Region object specifying the elements to be removed or reactivated. This argument is valid only when isRestart=False.
A Boolean specifying whether elements are being removed or reactivated. This argument is valid only when isRestart=False. The default value is OFF.
A Boolean specifying whether stress/displacement elements are reactivated with strain. This argument is valid only when isRestart=False and when activeInStep=True. The default value is OFF.
Return value
A ModelChange object.
Exceptions
This method modifies the data for an existing ModelChange object in the step where it is created.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the ModelChange method, except for the name and createStepName arguments.
Return value
Exceptions
This method modifies the propagating data of an existing ModelChange object in the specified step.
Required argument
A String specifying the name of the step in which the interaction is modified.
Optional arguments
A Boolean specifying whether elements are being removed or reactivated. This argument is valid only when isRestart=False. The default value is OFF.
A Boolean specifying whether stress/displacement elements are reactivated with strain. This argument is valid only when isRestart=False and when activeInStep=True. The default value is OFF.
Return value
Exceptions
The ModelChange object has members with the same names and descriptions as the arguments to the ModelChange method.