param:constraint-set-isenabled


(param:constraint-set-isenabled  constraint  T/NIL)

Defines whether the specified constraint (integer) is enabled (T) or disabled (NIL).

Arguments

constraint (integer) the constraint to modify

T/NIL T for enabled, NIL for disabled

Return

T on success or NIL on failure

Example

(vl-load-mech)  2
(setq blkId (tblobjname "BLOCK" "*Model_Space"))  <Entity name: a40c9010>
(setq grp (mech:get-constraintsgroup blkId))  2685508064
(setq constraints (mech:get-constraints grp))  (2685508640 2685507680)
(setq constraint (nth 0 constraints))  2685508640
(mech:constraint-set-isenabled constraint nil)  T

Remarks


Note




©  Bricsys NV. All rights reserved.