Source code for abaqus.Optimization.BeadFixedRegion
from abaqusConstants import *
from .GeometricRestriction import GeometricRestriction
from ..Region.Region import Region
[docs]class BeadFixedRegion(GeometricRestriction):
"""The BeadFixedRegion object defines a fixed region geometric restriction.
The BeadFixedRegion object is derived from the GeometricRestriction object.
Notes
-----
This object can be accessed by:
.. code-block:: python
import optimization
mdb.models[name].optimizationTasks[name].geometricRestrictions[name]
"""
def __init__(self, name: str, region: Region, csys: int = None, u1: Boolean = OFF, u2: Boolean = OFF,
u3: Boolean = OFF):
"""This method creates a BeadFixedRegion object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].optimizationTasks[name].BeadFixedRegion
Parameters
----------
name
A String specifying the geometric restriction repository key.
region
A Region object specifying the region to which the geometric restriction is applied.
csys
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.
u1
A Boolean specifying whether to fix the region in the 1-direction. The default value is
OFF.
u2
A Boolean specifying whether to fix the region in the 2-direction. The default value is
OFF.
u3
A Boolean specifying whether to fix the region in the 3-direction. The default value is
OFF.
Returns
-------
A BeadFixedRegion object.
"""
super().__init__()
pass
[docs] def setValues(self, csys: int = None, u1: Boolean = OFF, u2: Boolean = OFF, u3: Boolean = OFF):
"""This method modifies the BeadFixedRegion object.
Parameters
----------
csys
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.
u1
A Boolean specifying whether to fix the region in the 1-direction. The default value is
OFF.
u2
A Boolean specifying whether to fix the region in the 2-direction. The default value is
OFF.
u3
A Boolean specifying whether to fix the region in the 3-direction. The default value is
OFF.
"""
pass