bim:create-attributeset
(bim:create-attributeset name
label visible [categoryId |
categoryName])
This functions create a new
AttributeSet name inside the (optionally) specified NameSpace.
Arguments
|
name (string) the name of the AttributeSet to be
created
label (string) the GUI label for the AttributeSet; if
specified as empty string, the name will be used
automatically
visible (T/NIL) specifies whether the
AttributeSet name will be visible or hidden
(optional)
specifies the NameSpace where the new
AttributeSet is attached to (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 for the AttributeSet
|
Return
|
T or NIL, indicating success
or failure
|
Example
|
(bim:create-attributeset
"---testName---" "---testLabel---" T) T
(bim:has-attributeset "---testName---")
T
|
Remarks
|
the "visible" status means
whether the AttributeSet is visible in PropertiesPanel;
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
|