param:deleteconstraint


(param:deleteconstraint  constraintsGroup  constraint)

Deletes the specified constraint (integer) from constraintsGroup (integer) 3DConstraintsGroup.

Arguments

constraintsGroup (integer) the constraint group

constraint (integer) the constraint to be removed from the constraints group

Return

T if successful, or NIL otherwise

Example

(vl-load-mech)  2
(setq blkId (tblobjname "BLOCK" "*Model_Space"))  <Entity name: a3c8b900>
(setq grp ((param:get-constraintsgroup blkId))  2752346592
(setq constraints ((param:get-constraints grp))  (2752356192)
(param:deleteconstraint grp (car constraints))  T

Remarks

see functions (param:get-allconstraintsgroups) and (param:get-constraintsgroup) to retrieve the 3DConstraintsGroup;
see function (param:get-constraints) to get all constraints of a 3DConstraintsGroup

Note




©  Bricsys NV. All rights reserved.