ConstellationConstraints#

class ansys.stk.core.stkobjects.ConstellationConstraints#

Class related to the constellation constraints.

Overview#

set_from_restriction_type

Set a new restriction type when in the from access position.

set_to_restriction_type

Set a new restriction type when in the to access position.

from_parent_constraint

Constrain accesses for constellation objects when used in a chain by parent relationships when in the β€˜from’ access position.

to_parent_constraint

Constrain accesses for constellation objects when used in a chain by parent relationships when in the β€˜to’ access position.

from_restriction_type

Get the current restriction type when in the from access position.

from_restriction

Return a restriction corresponding to the restriction type when in the from access position.

to_restriction_type

Get the current restriction type when in the to access position.

to_restriction

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:

None

ConstellationConstraints.set_to_restriction_type(self, restriction: ConstellationConstraintRestrictionType) None#

Set a new restriction type when in the to access position.

Parameters:

restriction : ConstellationConstraintRestrictionType

Returns:

None