Click or drag to resize

CommandListAppendMotfWaitDistance Method

When using MOTF, waits until the part has traveled the specified distance before marking is resumed.


Namespace: RAYLASE.SPICE3.ClientLib
Assembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 3.12.1
Syntax
C#
public void AppendMotfWaitDistance(
	double distance,
	MotfDistanceMode mode,
	int timeout = -1
)

Parameters

distance  Double
Distance after which an Motf event should occur
mode  MotfDistanceMode
Mode to measure the distance
timeout  Int32  (Optional)
Maximum time to wait for distance (Default: -1 (Infinity)).
Remarks

Appends an MOTF_WAIT_DISTANCE command to the list.

Once the 'wait distance' condition is met, the part will be tracked until the next AppendStopMotf(Double, Double) command (or variants).

Please refer to AppendMotfWaitDistanceWithoutTracking(Double, MotfDistanceMode, Int32) if execution should resume without tracking the part.

See Also