ProfileChangeStoppingConditionState#

class ansys.stk.core.stkobjects.astrogator.ProfileChangeStoppingConditionState#

Bases: IProfile, IRuntimeTypeInfoProvider

The Change Stopping Condition State profile.

Overview#

set_segment

Set the targeted segment.

set_trigger

Set the targeted stopping condition.

segment_name

Get or set the segment that contains the targeted stopping condition.

state

Get or set the new state of the targeted stopping condition.

trigger_name

Get or set the name of the targeted stopping condition.

Import detail#

from ansys.stk.core.stkobjects.astrogator import ProfileChangeStoppingConditionState

Property detail#

property ProfileChangeStoppingConditionState.segment_name: str#

Get or set the segment that contains the targeted stopping condition.

property ProfileChangeStoppingConditionState.state: StateType#

Get or set the new state of the targeted stopping condition.

property ProfileChangeStoppingConditionState.trigger_name: str#

Get or set the name of the targeted stopping condition.

Method detail#

ProfileChangeStoppingConditionState.set_segment(self, mcs_segment: IMCSSegment) None#

Set the targeted segment.

Parameters:

mcs_segment : IMCSSegment

Returns:

None

ProfileChangeStoppingConditionState.set_trigger(self, stopping_condition: StoppingCondition) None#

Set the targeted stopping condition.

Parameters:

stopping_condition : StoppingCondition

Returns:

None