mech:set-componentparameterexpr


(mech:set-componentparameterexpr  idBlockRef  paramName  paramValue)

Assigns a new string expression paramValue (string) for parameter paramName (string) of the constrained  idBlockRef BlockReference entity (ename).

Arguments

idBlockRef (ename) the BlockReference entity to be queried

paramName (string) the parameter name to assign the new expression to

paramValue (string) the new string expression to be assigned

Return

T is successful, NIL otherwise

Example

(vl-load-mech)  2
(setq ent (car (entsel)))  <Entity name: a4117f80>
(setq res (mech:get-componentparameterexpr ent "Size"))  ".375-24 UNF"
(setq res (mech:set-componentparameterexpr ent "Size" ".500-13 UNC"))  T
(setq res (mech:get-componentparameterexpr ent "Size"))  ".500-13 UNC"

Remarks


Note




©  Bricsys NV. All rights reserved.