bim:pset-bimtypes-has


(bim:pset-bimtypes-has  psetName  bimType)

This functions returns whether the specified PropertySet psetName uses the given bimType "BIMType".

Arguments

psetName  (string) the name of the PropertySet to be verified against the given "BIMType"

bimType  (string)  the global or local name of a particular "BIMType"

Return

T if the specified PropertySet uses the given "BIMType", or NIL otherwise

Example

(vl-load-bim)
(bim:create-propertyset "MyPerInstance-1" "MyPSet-1" T T)
(bim:pset-bimtypes-has "MyPerInstance-1" ""BimDbWindow)  T
(bim:pset-bimtypes-has "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.