ProcedureTimeOptions#
- class ansys.stk.core.stkobjects.aviator.ProcedureTimeOptions#
Class defining the time options for the current procedure.
Overview#
Set the start time for the procedure. |
|
Set the interrupt time for the procedure. |
|
Set the stop time for the procedure. |
Check to see if the start time is enabled for this procedure. |
|
Opt whether to set a start time for the procedure. |
|
Start time for the procedure. |
|
Check to see if the interrupt time is enabled for this procedure. |
|
Opt whether to set an interrupt time for the procedure. |
|
Interrupt time for the procedure. |
|
Check to see if the stop time is enabled for this procedure. |
|
Opt whether to set a stop time for the procedure. |
|
Stop time for the procedure. |
Examples#
Configure a procedureβs time options
# IProcedure procedure: Procedure object
# Get the time in epoch seconds
root.units_preferences.set_current_unit("DateFormat", "EpSec")
# Get the time options
timeOptions = procedure.time_options
# Get the start time
startTime = timeOptions.start_time
# Set the procedure to interrupt after 15 seconds
timeOptions.set_interrupt_time(15)
Import detail#
from ansys.stk.core.stkobjects.aviator import ProcedureTimeOptions
Property detail#
- property ProcedureTimeOptions.start_time_enabled: bool#
Check to see if the start time is enabled for this procedure.
- property ProcedureTimeOptions.use_start_time: bool#
Opt whether to set a start time for the procedure.
- property ProcedureTimeOptions.interrupt_time_enabled: bool#
Check to see if the interrupt time is enabled for this procedure.
- property ProcedureTimeOptions.use_interrupt_time: bool#
Opt whether to set an interrupt time for the procedure.
- property ProcedureTimeOptions.stop_time_enabled: bool#
Check to see if the stop time is enabled for this procedure.