bim:pset-set-perinstance


(bim:pset-set-perinstance  psetName  perInstance)

This functions defines whether the PropertySet psetName is per-instance or global.

Arguments

psetName  (string) the name of the PropertySet to define the per-instance status for

perInstance  (T/NIL) the new per-instance status for the specified PropertySet

Return

T or NIL, indicating success or failure

Example

(vl-load-bim)
(bim:create-propertyset "MyPerInstance-1" "MyPSet-1" T NIL)
(bim:pset-set-perinstance "MyPerInstance-1" T)  T

(bim:pset-set-perinstance "MyPSet-1" NIL)  T

Remarks

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



©  Bricsys NV. All rights reserved.