mech:compdef-set-bomstatus


(mech:compdef-set-bomstatus  blkRefOrSolid  status)

Defines the BOM-related status of the component, referenced by the blkRefOrSolid (ename) entity.

Arguments

blkRefOrSolid (ename) the entity

status (integer) one of the Component BOM Status values defining the BOM-related status

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-bomstatus blkRefOrSolid))
0
(setq res (mech:compdef-set-bomstatus blkRefOrSolid bc3dcExcluded))
T
(setq res (mech:compdef-get-bomstatus blkRefOrSolid))
3

Remarks

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

Note

for the integer status is one of the Component BOM Status values



©  Bricsys NV. All rights reserved.