param:remove-entity-constraints


(param:remove-entity-constraints  entity)

Deletes all 3DConstraints from the specified entity.

Arguments

entity (ename) the entity or BlockTableRecord to remove all 3DConstraints from

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 a 3DConstraintsGroup;
see function (param:get-constraints) to get all constraints of a 3DConstraintsGroup

Note




©  Bricsys NV. All rights reserved.