SoAlarmSensorSetTimeFromNow Method |
Sets the sensor to go off the given amount of time from now.
Namespace: OIV.Inventor.SensorsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntaxpublic void SetTimeFromNow(
SbTime relTime
)
Public Sub SetTimeFromNow (
relTime As SbTime
)
public:
void SetTimeFromNow(
SbTime relTime
)
member SetTimeFromNow :
relTime : SbTime -> unit
Parameters
- relTime
- Type: OIV.InventorSbTime
RemarksYou must also call () for the sensor to be triggered. If the sensor is already scheduled, it must be unscheduled and then rescheduled for the change in the trigger time to take effect.
See Also