bim:pset-set-property-label


(bim:pset-set-property-label  psetName  propName  propLabel)

This functions assigns a new label for the Property propName from the PropertySet psetName.

Arguments

psetName  (string) the name of the PropertySet where to lookup for the property

propName  (string) the name of the Property to assign the new label for

propLabel  (string) the new label for the specified property

Return

T or NIL, indicating success or failure

Example

(vl-load-bim)
(bim:pset-create-property "MyPSet-1" "Prop-1" "PropLabel-1" "PropDesc-1" T)
(bim:pset-set-property-label "MyPSet-1" "Prop-1" "NewLabel")  T
(bim:pset-set-property-label "MyPSet-1" "PropLabel-1" "NewLabel")  T

Remarks

the psetName argument can refer to the PropertySet 'name' or PropertySet 'label', both is supported;
the propName argument can refer to the Property 'name' or Property 'label', both is supported;



©  Bricsys NV. All rights reserved.