ConstellationConstraints#
- class ansys.stk.core.stkobjects.ConstellationConstraints#
Class related to the constellation constraints.
Overview#
Set a new restriction type when in the from access position. |
|
Set a new restriction type when in the to access position. |
Constrain accesses for constellation objects when used in a chain by parent relationships when in the βfromβ access position. |
|
Constrain accesses for constellation objects when used in a chain by parent relationships when in the βtoβ access position. |
|
Get the current restriction type when in the from access position. |
|
Return a restriction corresponding to the restriction type when in the from access position. |
|
Get the current restriction type when in the to access position. |
|
Return a restriction corresponding to the restriction type when in the to access position. |
Import detail#
from ansys.stk.core.stkobjects import ConstellationConstraints
Property detail#
- property ConstellationConstraints.from_parent_constraint: ConstellationFromToParentConstraint#
Constrain accesses for constellation objects when used in a chain by parent relationships when in the βfromβ access position.
- property ConstellationConstraints.to_parent_constraint: ConstellationFromToParentConstraint#
Constrain accesses for constellation objects when used in a chain by parent relationships when in the βtoβ access position.
- property ConstellationConstraints.from_restriction_type: ConstellationConstraintRestrictionType#
Get the current restriction type when in the from access position.
- property ConstellationConstraints.from_restriction: IConstellationConstraintRestriction#
Return a restriction corresponding to the restriction type when in the from access position.
- property ConstellationConstraints.to_restriction_type: ConstellationConstraintRestrictionType#
Get the current restriction type when in the to access position.
- property ConstellationConstraints.to_restriction: IConstellationConstraintRestriction#
Return a restriction corresponding to the restriction type when in the to access position.
Method detail#
- ConstellationConstraints.set_from_restriction_type(self, restriction: ConstellationConstraintRestrictionType) None #
Set a new restriction type when in the from access position.
- Parameters:
restriction :
ConstellationConstraintRestrictionType
- Returns:
- ConstellationConstraints.set_to_restriction_type(self, restriction: ConstellationConstraintRestrictionType) None #
Set a new restriction type when in the to access position.
- Parameters:
restriction :
ConstellationConstraintRestrictionType
- Returns: