civil:converter-get-c3d-profiletype


(civil:converter-get-c3d-profiletype  handle)

Returns the ProfileType for the specified C3D Profile entity handle (integer).

Arguments

handle  (handle, integer)  the C3D entity to retrieve the profile type for

Return

the ProfileType (integer) on success, or NIL if the specified handle does not refer to a C3D Profile entity

Example

(vl-load-civil)
(setq converter (civil:get-converter 255))  1860981280
(setq c3dents (civil:converter-get-c3d-entities converter))  (1719921328  1855578352  1719922032  1855582912  1855579152)
(setq handle (nth 0 c3dents))  2093508048
(setq profile (civil:converter-get-c3d-profiletype handle))  NIL
(setq handle (nth 3 c3dents))  2093979968
(setq profile (civil:converter-get-c3d-profiletype handle))  2

Remarks

for ProfileType values, please see ECivil3dProfileType in Type Constants



©  Bricsys NV. All rights reserved.