bim:pset-bimtypes-add


(bim:pset-bimtypes-add  psetName  bimType)

This functions adds the given bimType "BIMType" to the specified PropertySet psetName.

Arguments

psetName  (string) the name of the PropertySet to add the given "BIMTypes" to

bimType  (string)  the global or local name of the "BIMType" to be added

Return

T or NIL, indicating success or failure

Example

(vl-load-bim)
(bim:create-propertyset "MyPerInstance-1" "MyPSet-1" T T)
(bim:pset-bimtypes-add "MyPerInstance-1" ""BimDbWindow)  T
(bim:pset-bimtypes-add "MyPerInstance-1" ""Window)  T

Remarks

the psetName argument can refer to the PropertySet 'name' or PropertySet 'label', both is supported;
see functions (bim:pset-bimtypes-list-all) and (bim:pset-bimtypes-list) and (bim:pset-bimtypes-add)



©  Bricsys NV. All rights reserved.