bim:has-attributeset
(bim:has-attributeset name
[categoryId | categoryName])
Returns whether the specified
AttributeSets name does exist (in optionally (optionally) specified
NameSpace categoryId |
categoryName).
|
Arguments
|
name (string) the name of the AttributeSet to be searched
(can specify the "name" or the "label" of an
AttributeSet)
(optional)
specifies the NameSpace to where the
AttributeSet resides (each category has an associated
NameSpace)
categoryId (integer) BIM property category ID, can be omitted
(bcBimCategoryUser is used then); see Category Constants
---or---
categoryName (string) BIM property category name, can be omitted(
bcBimCategoryUser is used then), see Category Constants
if omitted, the all NameSpaces are
automatically scanned to find the AttributeSet "name"
|
|
Return
|
T or NIL, indicating whether
the AttributeSet exists
|
|
Example
|
(bim:create-attributeset
"---testName---" "---testLabel---" T) T
(bim:has-attributeset "---testName---")
T
(bim:has-attributeset "testNameX")
NIL
|
|
Remarks
|
the AttributeSet name/label
is case-insensitive;
the BIM property category name is case
sensitive;
if the NameSpace (as indirectly specified by
categoryId resp. categoryName) does not exist, NIL is
returned;
|