The ShapeMemberSize object defines a shape member size geometric restriction.
The ShapeMemberSize object is derived from the GeometricRestriction object.
import optimization mdb.models[name].optimizationTasks[name].geometricRestrictions[name]
This method creates a ShapeMemberSize object.
mdb.models[name].optimizationTasks[name].ShapeMemberSize
Required arguments
A String specifying the geometric restriction repository key.
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
A Float specifying the maximum thickness. The default value is 0.0.
A Float specifying the minimum thickness. The default value is 0.0.
A SymbolicConstant specifying whether to restrict the minimum or maximum thickness. Possible values are MAXIMUM and MINIMUM. The default value is MINIMUM.
Return value
A ShapeMemberSize object.
Exceptions
This method modifies the ShapeMemberSize object.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the ShapeMemberSize method, except for the name argument.
Return value
Exceptions
The ShapeMemberSize object has members with the same names and descriptions as the arguments to the ShapeMemberSize method.