mech:rhino-importfile


(mech:rhino-importfile  filename  simplifyGeometry)

This function imports the specified Rhino 3dm filename file (requires Professional license).

Arguments

filename  (string)  fully qualified file name including path and .3dm extension

simplifyGeometry  (T/NIL)  if T, the imported Rhino geometry will be simplified to reduce imported data size; if NIL, no simplification is applied

Return

if import was successful, the list of created entities is returned;
NIL if import fails (wrong file name, empty Rhino content)

Example

(vl-load-mech)  1
(setq res (mech:rhino-importFile "E:/MCAD/curves2.3dm" nil))
(<Entity name: 75ff7d50> <Entity name: 75ffa3d0> <Entity name: 75ff9950> ...)

Remarks

this function is similar to IMPORT command : layer and color informations are maintained

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.