The following commands operate on Model objects. For more information about the Model object, see “Model object,” Section 33.1.
import assembly
This method copies a PartInstance object from the specified model and creates a new PartInstance object.
mdb.models[name].Instance
Required arguments
A String specifying the repository key.
A PartInstance object to be copied.
Optional arguments
Return value
A Model object.
Exceptions
This method converts all sketches from Abaqus 6.5 or earlier to the equivalent ConstrainedSketch objects.
Required arguments
Optional arguments
A Boolean specifying if all the features in assembly as well as in all the parts in the model should be regenerated after the conversion. The default value is True.
A Boolean specifying whether sketches in analytic rigid parts should be converted even if they cause the orientation of surfaces defined on them to be flipped. The default value is True.
Return value
A list of strings describing any warnings or errors encountered during the conversion process.
Exceptions
This method links the selected PartInstance objects to the corresponding PartInstance objects from the specified models. If all instances of a Part are selected for linking, the Part will be linked as well. If not, a new linked child Part object will be created and added to the repository.
Required argument
A tuple of tuples containing the instance name to be linked and the corresponding PartInstance object to which it will be linked.
Optional arguments
Return value
A list of strings describing any warnings or errors encountered during the conversion process.
Exceptions