bim:list-attributesets


(bim:list-attributesets  [categoryId | categoryName])

This function returns a list of all defined AttributeSets of (optionally) specified NameSpace categoryId | categoryName.

Arguments

(optional)
specifies the NameSpace to where to retrieve the AttributeSets 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 an empty string for bcBimCategoryUser), see Category Constants
if omitted, the "User" NameSpace is automatically used

Return

a list of AttributeSet entries, or NIL;
each entry is defined as :
(<name> <label> <visible>)

the "visible" status (T/NIL) means whether the AttributeSet (and its Attributes) is visible in PropertiesPanel

Example

(bim:create-attributeset "---testName---" "---testLabel---" T)  T
(bim:list-attributesets)  (("---testName---" "---testLabel---" T))

Remarks

the BIM property category name is case-insensitive;
if the NameSpace (as indirectly specified by categoryId resp. categoryName) does not exist, NIL is returned;



©  Bricsys NV. All rights reserved.