bim:list-propertysets


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

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

Arguments

(optional)
specifies the NameSpace to where to retrieve the PropertySets 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 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 PropertySet entries, each entry is defined as :
(<name> <label> <visible> <per-instance>)

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

the "per-instance" status (T/NIL) means whether the PropertySet (and its Properties) is assigned "per instance" to specific BIM objects only, or apply for any BIM object

Example

(bim:create-propertyset "TestSet" "---test---" T T)  T
(bim:list-propertysets)  (("TestSet" "---test---" T T))

Remarks

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



©  Bricsys NV. All rights reserved.