param:constraint-set-directions


(param:constraint-set-directions  constraint  mode)

Defines the direction mode (integer 0-3) for the specified constraint (integer).

Arguments

constraint (integer) the constraint to modify

mode (integer) one of  3DConstraints Directions values 0...3

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-directions constraint bc3dcDirectionAny)  T

Remarks

not all constraint types support all direction modes (or do not support direction mode at all)

Note




©  Bricsys NV. All rights reserved.