mech:compdef-set-asstandard


(mech:compdef-set-asstandard  blkRefOrSolid  asStandard)

Defines whether the component referenced by this blkRefOrSolid (ename) entity is a "standard type" or not.

Arguments

blkRefOrSolid (ename) the entity

asStandard T/NIL defines whether the associated ComponentDefinition is a "standard type" (T) or not (NIL)

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-get-isstandard blkRefOrSolid))
T
(setq res (mech:compdef-set-asstandard blkRefOrSolid NIL))
T
(setq res (mech:compdef-get-isstandard blkRefOrSolid))
nil

Remarks

blkRefOrSolid could be a BlockReference or 3dSolid

Note

see function (mech:compdef-get-isstandard)



©  Bricsys NV. All rights reserved.