The following commands operate on Model objects. For more information about the Model object, see “Model object,” Section 31.1.
import interaction
This method uses contact detection to createSurfaceToSurfaceContactStd ,SurfaceToSurfaceContactExp , andTie objects.
Required arguments
Optional arguments
A String specifying the prefix used to generate repository keys. The default value is "CP-"
A String specifying the name of the step in which theSurfaceToSurfaceContactStd ,SurfaceToSurfaceContactExp , andTie objects are created. The default value is "Initial."
A SymbolicConstantMODEL or a sequence of Strings specifying the names of instances to search.MODEL indicates the whole model is searched. The default value isMODEL .
A SymbolicConstant specifying the default type of object to create. Possible values areCONTACT ,CONTACT_STANDARD ,CONTACT_EXPLICIT , andTIE . IfCONTACT is used, the behavior is determined by the type ofStep in the model. If anExplicitDynamicsStep orTempDisplacementDynamicsStep exists, thenSurfaceToSurfaceContactExp is created by default. OtherwiseSurfaceToSurfaceContactStd is created by default. The default value isCONTACT .
A String specifying the name of theContactProperty object associated with any interactions created.
A Float specifying the maximum separation for considering two surfaces to be candidates for contact, where separation is the maximum distance between the points of closest approach on the two surfaces. The default value is a function of the model.
None or a Float specifying the angle for extending surface definitions to include adjacent faces. The default value is 20.
None or a Float specifying the angle for merging adjacent contact pairs which lie within the angle. The default value is 20.
A Boolean specifying whether to include surface pairs within a single instance. The default value isOFF .
A Boolean specifying whether to assign a name to each surface found. The default value isON .
A Boolean specifying whether to create a surface that is the union of all master surfaces found. The default value isOFF .
A Boolean specifying whether to create a surface that is the union of all slave surfaces found. The default value isOFF .
A Boolean specifying whether to create a surface that is the union of all master and slave surfaces found. The default value isOFF .
A Boolean specifying whether to include planar geometry. The default value isON .
A Boolean specifying whether to include cylindrical, spherical and toric geometry. The default value isON .
A Boolean specifying whether to include spline-based geometry. The default value isON .
A Boolean specifying whether to include solid mesh entities. The default value isON .
A Boolean specifying whether to include shell mesh entities. The default value isON .
A Boolean specifying whether to include mesh membrane entities. The default value isOFF .
A Boolean specifying whether to include overclosed pairs. The default value isON .
A Boolean specifying whether to include opposing geometry surfaces that do not overlap. The default value isOFF .
A SymbolicConstantUSE_GEOMETRY orUSE_MESH specifying whether to locate pairs in meshed geometry using the geometric entities or mesh entities. The default value isUSE_GEOMETRY .
A Boolean specifying whether to account for shell thickness and offset during contact detection. The default value isON .
A SymbolicConstant specifying whether to use surface smoothing for geometric surfaces inSurfaceToSurfaceContactStd interactions. Possible values areNONE , andAUTOMATIC . The default value isAUTOMATIC .
Return value
None
Exceptions