bim:delete-attributeset
(bim:delete-attributeset name
[categoryId | categoryName])
This functions removes the AttributeSet
name, from the
(optionally) specified NameSpace.
Arguments
|
name (string) the name of the AttributeSet to be
removed
(optional)
specifies the NameSpace where the AttributeSet
is to be removed from (each category has an associated
NameSpace)
categoryId BIM property category ID, can be omitted
(bcBimCategoryUser is used then); see Category Constants
---or---
categoryName BIM property category name as string, can be omitted
(bcBimCategoryUser is used then), see Category Constants
if omitted, the "User" NameSpace is
automatically used to search for the AttributeSet
|
Return
|
T or NIL, indicating success
or failure
|
Example
|
(bim:create-attributeset
"---testName---" "---testLabel---" T) T
(bim:has-attributeset "---testName---")
T
(bim:delete-attributeset "---testName---")
T
(bim:has-attributeset "---testName---")
NIL
(bim:delete-attributeset "---testName---")
T
|
Remarks
|
the BIM property category
name is case sensitive;
if the NameSpace (as indirectly specified by
categoryId resp. categoryName) does not exist, it will be
automatically created, as a visible NameSpace
|