The StampControl object defines a stamp control geometric restriction.
The StampControl object is derived from the GeometricRestriction object.
import optimization mdb.models[name].optimizationTasks[name].geometricRestrictions[name]
This method creates a StampControl object.
mdb.models[name].optimizationTasks[name].StampControl
Required arguments
A String specifying the geometric restriction repository key.
A VertexArray object of length 2 specifying the stamping direction. Instead of through a Vertex, each point may be specified through a tuple of coordinates.
A Region object specifying the region to which the geometric restriction is applied. When used with a TopologyTask, there is no default value. When used with a ShapeTask, the default value is MODEL.
Optional arguments
None or a DatumCsys object specifying the local coordinate system. If csys=None, the global coordinate system is used. When this member is queried, it returns an Int. The default value is None.
A Float specifying the draw angle. The default value is 0.0.
None or a Region object specifying the master point used when masterPointDetermination is SPECIFY. The default value is None.
A SymbolicConstant specifying the rule for assigning point priority. Possible values are MAXIMUM, MINIMUM, and SPECIFY. The default value is MAXIMUM.
A Boolean specifying whether to ignore the geometric restriction in the first design cycle. The default value is ON.
A Float specifying the geometric tolerance in the 1-direction. The default value is 0.01.
A Float specifying the geometric tolerance in the 2-direction. The default value is 0.01.
A Float specifying the geometric tolerance in the 3-direction. The default value is 0.01.
A Float specifying the undercut tolerance. The default value is 0.0.
Return value
A StampControl object.
Exceptions
This method modifies the StampControl object.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the StampControl method, except for the name argument.
Return value
Exceptions
The StampControl object has members with the same names and descriptions as the arguments to the StampControl method.