Source code for abaqus.Sketcher.ConstrainedSketchConstraint.VerticalConstraint
from .ConstrainedSketchConstraint import ConstrainedSketchConstraint
from ..ConstrainedSketchGeometry.ConstrainedSketchGeometry import ConstrainedSketchGeometry
[docs]class VerticalConstraint(ConstrainedSketchConstraint):
def __init__(self, entity: ConstrainedSketchGeometry):
"""This method creates a vertical constraint. This constraint applies to a line and
constrains it to be vertical.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].sketches[name].VerticalConstraint
Parameters
----------
entity
A ConstrainedSketchGeometry object specifying the line to constrain.
Returns
-------
A ConstrainedSketchConstraint object.
"""
pass