VCAcadReadWith3D


Version:

1.2

Description:

Loads a 3D AutoCAD file into the current drawing world.

Declaration:

 

C/C++

extern "C" void WINAPI VCAcadReadWith3D(char* pName);

Delphi

procedure VCAcadReadWith3D(pName: PAnsiChar); stdcall;

ActiveX/COM

Sub AcadReadWith3D(ByVal pName As String)

Parameters:

pName - path and filename for the file.

Notes:

VCAcadRead3D allows an AutoCAD file to be loaded and converted to a Visual CADD™ drawing in the current drawing session. VCAcadReadWith3D allows a complete 3D file to be interpreted into Visual CADD™, while VCAcadRead strips all 3D entity information from the drawing file. When working with block 3D block definitions an application should use VCAcadBlockRead3D allowing Visual CADD™ to treat the file as a native symbol. Symbols act as a collection of entities that can be inserted repeatedly in a drawing. The symbols can be inserted at different locations with different rotations and scales while maintaining a unique identity separate from the objects composing the definition. When working with AutoCAD file types it is necessary to provide settings for certain conversion criteria. The criteria can be either set through code or as a result of user input to the application. The AutoCAD conversion criteria include base units, color translation, X-Ref conversion and font mapping. Visual CADD™ provides a dialog for a user to edit these settings for conversion operations. These settings may or may not correspond to those required by the application. In situations where the application needs to control these settings the calls VCGetAcadImportUnit, VCGetPreserveAcadColorNums and VCGetKeepAcadFontName can be used to set the desired values.

See Also:

VCAcadBlockRead, VCAcadRead, VCAcadWriteDWG, VCGetAcadImportUnit,VCAcadWriteDXF, VCLoadDrawing, VCAcadBlockRead3D, VCGetAcadImportUnit, VCGetKeepAcadFontName