mech:rhino-exportfile


(mech:rhino-exportfile  filename  selectionset|enames)

This function exports a selectionset or list of entity names as the specified Rhino 3dm filename file(requires Professional license).

Arguments

filename  (string)  fully qualified file name including path and .3dm extension; will be overwritten if already existing

selectionset  (pickset)  selection set to be exported
or
enames  (list of ename)  list of entities to be exported

Return

T if export was successful, NIL otherwise (wrong file name, empty selectionset or empty list)

Example

(vl-load-mech)  1
(mech:rhino-exportFile "D:/Rhino/sample-export.3dm" ss)  T

Remarks

the Rhino file format version can be adjusted in Settings : RhinoVersion;

Note

as Rhino does not provide development libraries for Linux + Mac platforms, these functions are actually only available on Windows.



©  Bricsys NV. All rights reserved.