mech:compdef-create


(mech:compdef-create  blkRefOrSolid)

Creates an associated ComponentDefinition blkRefOrSolid (ename), if such is not yet existing.

Arguments

blkRefOrSolid (ename) the entity

Return

T on success, or NIL in case of an error

Example

(vl-load-mech)  1

Remarks

blkRefOrSolid could be a BlockReference or 3dSolid

Note

If blkRefOrSolid already has an assigned ComponentDefinition, this function does nothing and returns T.



©  Bricsys NV. All rights reserved.