param:parameters-set-unitstype


(param:parameters-set-unitstype  parameter  unitsType)

Assigns a new units unitsType mode (integer, None=0, Length=1, Area=2, Volume=3) to the specified parameter (integer).

Arguments

parameter (integer) the parameter identifier to be modified

unitType (integer 0...3) the new units type value for the parameter

Return

T if successful, or NIL otherwise

Example

(vl-load-mech)  2
(setq blkId (tblobjname "BLOCK" "*Model_Space"))  <Entity name: 4aaa68b0>
(setq param (mech:parameters-get-byname blkId "Length"))  971708080
(mech:parameters-set-unitstype param bc3dcUnitLength)  T

Remarks

for the 'Units Type' value, see 3DC Parameters Units Type

Note




©  Bricsys NV. All rights reserved.