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