civil:get-converter


(civil:get-converter  [labelFlags])

This function instantiates a new C3D Converter object, using the labelFlags to determine what to convert; original C3D entities are not erased.

Arguments

labelFlags  (integer bit-flags, optional) this flags defines what data shall be converted

Return

"handle" of the converter instance (64-bit integer), or NIL in case of an error

Example

(vl-load-civil)
(setq converter (civil:get-converter(+ bcTinCivil3dSurfaceLabels bcTinCivil3dAlignmentsLabels bcTinCivil3dUnattachedLabels)))
1425882112

Remarks

for the labelFlags please see ECivilLabelImportFlags in Type Constants;
it is suggested to clear/release the converter instance by (civil:converter-release) after conversion has been finished, but nor strictly required
(the converter instance is released when the drawing is closed)



©  Bricsys NV. All rights reserved.