Version: |
1.2 |
Description: |
Saves the current drawing and converts if necessary. |
Declaration: |
|
C/C++ |
extern "C" void WINAPI VCSaveDrawing(short* iError, char* pName, short iFileType, vbool tfSaveSelected); |
Delphi |
procedure VCSaveDrawing(var iError: Smallint; pName: PAnsiChar;iFileType: Smallint; tfSaveSelected: Wordbool);stdcall; |
ActiveX/COM |
Sub SaveDrawing(ByVal pName As String, ByVal iFileType As Integer, ByVal tfSaveSelected As Integer) |
Parameters: |
pName
- the name and path of the file to be saved |
iError Code: |
0 - Success |
Notes: |
If a drawing was originally from AutoCAD, there may be some changes to the final drawing if particular entities were used while editing in Visual CADD™. Some of these entities include ellipses, fills, and hatches due to the fact that AutoCAD does not support these entities directly or their handling of them is different. The same is also true Generic CADD files although on a smaller scale. Generic CADD does not support continuous lines so all entities made of continuous lines will be converted to single lines. Although these entities may be supported differently in other packages, they will not be lost but instead converted to the closest possible entity type available in the other file format. |
See Also: |
VCLoadDrawing, VCMergeDrawing VCLoadVCDFromFile, VCAcadRead, VCAcadReadWith3D , VCSaveDrawingView |