VCGetNotImportXref
VCSetNotImportXref


Version:

9.0.0

Description:

Specifies whether to import DWG/DXF reference frames.

Declaration:

C/C++

extern "C" vbool WINAPI VCGetNotImportXref(short* iError);
extern "C" void WINAPI VCSetNotImportXref(short* iError, vbool tf);

Delphi

function VCGetNotImportXref(var iError: SmallInt): WordBool; stdcall;
procedure VCSetNotImportXref(var iError: SmallInt; tf: WordBool); stdcall;

ActiveX/COM

Function GetNotImportXref() As Integer
Sub SetNotImportXref(ByVal tf As Integer)

Parameters:

tf - Boolean setting
1 - do not import reference frames
0 - import reference frames

Return Value:

the Boolean setting

iError Code:

0 - Success
1 - Invalid world

Notes:

When importing DWG or DXF drawings containing reference frames, it is optional whether to import the reference frames or not. If importing the reference frames, then VCSetImportConvertXref controls whether the reference frames are imported as VCD or kept as DWG/DXF.

See Also:

VCGetImportConvertXref