mech:compdef-has-definition


(mech:compdef-has-definition  blkRefOrSolid)

Verifies whether the blkRefOrSolid (ename) entity references (uses) a ComponentDefinition or not.

Arguments

blkRefOrSolid (ename) the entity to query

Return

T if the specified entity uses a ComponentDefinition, or NIL otherwise (and in case of an error)

Example

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

Remarks

blkRefOrSolid could be a BlockReference or 3dSolid

Note




©  Bricsys NV. All rights reserved.