mech:compdef-get-isroot


(mech:compdef-get-isroot  blkRefOrSolid)

Verifies whether the component, referenced by the blkRefOrSolid (ename) entity, is the root definition or not.

Arguments

blkRefOrSolid (ename) the entity to query

Return

T for a root component, or NIL otherwise (and in case of an error)

Example

(vl-load-mech)  1
(setq blkRefOrSolid (entlast))
<Entity name: 400b3440>
(setq res (mech:compdef-get-isroot blkRefOrSolid))
nil

Remarks

blkRefOrSolid could be a BlockReference or 3dSolid

Note




©  Bricsys NV. All rights reserved.