mech:compdef-unmech


(mech:compdef-unmech  blkRefOrSolid)

This function removes all "Mechanical" definition data from the specified blkRefOrSolid (ename) entity, making it a "non-mechanical" entity.

Arguments

blkRefOrSolid (ename) the entity

Return

T on success, or NIL in case of an error

Example

(vl-load-mech)  1
(setq blkRefOrSolid (entlast))
<Entity name: 7dabeda0>
(setq res (mech:compdef-has-definition blkRefOrSolid))
T
(setq res (mech:compdef-unmech blkRefOrSolid))
T
(setq res (mech:compdef-has-definition blkRefOrSolid))
nil

Remarks

blkRefOrSolid could be a BlockReference or 3dSolid

Note




©  Bricsys NV. All rights reserved.