The EmbeddedRegion object allows you to embed a region of the model within a “host” region of the model or within the whole model.
The EmbeddedRegion object is derived from the Constraint object.
import interaction mdb.models[name].constraints[name]
This method creates a EmbeddedRegion object.
mdb.models[name].EmbeddedRegion
Required arguments
A String specifying the constraint repository key.
A Region object specifying the body region to be embedded.
A Region object specifying the host region. A value of None indicates that the host region is the whole model.
Optional arguments
A Float specifying a small value below which the weighting factors will be zeroed out. The default value is 10–6.
A SymbolicConstant specifying the method used to determine the embedded element tolerance. Possible values are ABSOLUTE, FRACTIONAL, and BOTH. The default value is BOTH.
A Float specifying the absolute value by which a node on the embedded region may lie outside the host region. If absoluteTolerance=0.0, the fractionalTolerance value will be used. The default value is 0.0.
This argument applies only when toleranceMethod=ABSOLUTE or BOTH.
A Float specifying the fractional value by which a node on the embedded region may lie outside the host region. The fractional value is based on the average element size within the host region. The default value is 0.05.
If both tolerance arguments are specified, the smaller value will be used.
This argument applies only when toleranceMethod=FRACTIONAL or BOTH.
Return value
An EmbeddedRegion object.
Exceptions
This method modifies the EmbeddedRegion object.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the EmbeddedRegion method, except for the name argument.
Return value
Exceptions
The EmbeddedRegion object has members with the same names and descriptions as the arguments to the EmbeddedRegion method.
In addition, the EmbeddedRegion object has the following member:
A Boolean specifying whether the constraint is suppressed or not. The default value is OFF.