mech:compdef-set-sectionable


(mech:compdef-set-sectionable  blkRefOrSolid  isSectionable)

Defines whether the component, referenced by the blkRefOrSolid (ename) entity, is sectionable or not.

Arguments

blkRefOrSolid (ename) the entity

isSectionable T/NIL defines whether the referenced ComponentDefinition is sectionable or not

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

Remarks

blkRefOrSolid could be a BlockReference or 3dSolid;
changing the "sectionable" status might affect other instances using the same ComponentDefinition

Note




©  Bricsys NV. All rights reserved.