VCGetSymSnap
VCSetSymSnap


Version:

1.2

Description:

Although symbol are considered a single entity, the ability to snap near point and closest point is still provided if desired via the symbol snap toggle. When on, the user can snap to entities within a symbol definition without exploding the symbol.

Declaration:

 

C/C++

extern "C" vbool WINAPI VCGetSymSnap(short* iError);
extern "C" void WINAPI VCSetSymSnap(short* iError, vbool tf);

Delphi

function VCGetSymSnap(var iError: Smallint):Smallint; stdcall;
procedure VCSetSymSnap(var iError: Smallint; tf: Wordbool); stdcall;

ActiveX/COM

Function GetSymSnap() As Integer
Sub SetSymSnap(ByVal tf As Integer)

Parameters:

tf - toggle setting
0 - Off (Unchecked)
1 - On (Checked)
2 - Restore previous state

Notes:

 

See Also:

VCGetSymAutoExplode, VCGetSymName, VCGetSymbolName, VCGetSymScale, VCGetSymRot, VCGetSymExplode, VCGetSymScaleX, VCGetSymScaleY