getACS MethodStatic

Set the AuxiliaryCoordinateSystem for the current AccuDraw viewport by name. Optionally updates the AccuDraw origin and rotation to match the ACS.

getACS(acsName: string, useOrigin: boolean, useRotation: boolean): Promise<AuxCoordSystemState | undefined>

@note When no name is specified, AccuDraw is updated using the view's current ACS.

@returns AuxCoordSystemState or undefined if name does not exist or is invalid for the view.

@throws Error if resolving the ACS CodeSpec or loading ACS element properties fails.

Parameter Type Description
acsName string  
useOrigin boolean  
useRotation boolean  

Returns - Promise<AuxCoordSystemState | undefined>

AuxCoordSystemState or undefined if name does not exist or is invalid for the view.

Defined in

Last Updated: 28 July, 2026