PatternOperationItemGetOffsetParameter Method

Return a coordinate representing the specified or implicit Offset parameter for the provided operation.

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2715.4228
C#
public static FVector2 GetOffsetParameter(
	PatternOperationItem operation,
	WorkpieceInfoItem workpiece,
	FVector2 defaultLocation
)

Parameters

operation  PatternOperationItem
Reference to the operation for which the Offset parameter is being requested.
workpiece  WorkpieceInfoItem
Reference to the active workpiece against which relational references can be made.
defaultLocation  FVector2
The default location to use if no offset was specified.

Return Value

FVector2
Reference to a coordinate representing the user's resolved Offset parameter.

See Also