36.38 TopologyMemberSize object

The TopologyMemberSize object defines a topology member size geometric restriction.

The TopologyMemberSize object is derived from the GeometricRestriction object.

Access
        import optimization
        mdb.models[name].optimizationTasks[name].geometricRestrictions[name]
      


36.38.1 TopologyMemberSize(...)

This method creates a TopologyMemberSize object.

Path
          mdb.models[name].optimizationTasks[name].TopologyMemberSize
        

Required arguments

name

A String specifying the geometric restriction repository key.

region

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

maxThickness

A Float specifying the maximum thickness. The default value is 0.0.

minThickness

A Float specifying the minimum thickness. The default value is 0.0.

separation

A Float specifying the minimum gap. The default value is 0.0.

sizeRestriction

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

None.


36.38.2 setValues(...)

This method modifies the TopologyMemberSize object.

Required arguments

None.

Optional arguments

The optional arguments to setValues are the same as the arguments to the TopologyMemberSize method, except for the name argument.

Return value

None

Exceptions

None.


36.38.3  Members

The TopologyMemberSize object has members with the same names and descriptions as the arguments to the TopologyMemberSize method.