bim:create-propertyset


(bim:create-propertyset  name  label  visible  perInstance  [categoryId | categoryName])

This functions create a new PropertySet name inside the (optionally) specified NameSpace.

Arguments

name  (string) the name of the PropertySet to be created

label  (string) the GUI label for the PropertySet; if specified as empty string, the name will be used automatically

visible  (T/NIL)  specifies whether the PropertySet name will be visible or hidden

perInstance  (T/NIL)  specifies whether the PropertySet name will is "per object instance" or applied to any BIM object

(optional)
specifies the NameSpace where the new PropertySet 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 category name as string (can be an empty string for bcBimCategoryUser), see Category Constants

if omitted, the "User" NameSpace is automatically used for the PropertySet

Return

T or NIL, indicating success or failure

Example

(bim:create-propertyset "TestSet" "---test---" T T)  T
(bim:create-propertyset "TestSetX" "---testX---" T T bcBimCategoryIFC2x3)  T
(bim:create-propertyset "TestSetZ" "---testZ---" T T "MyPropertyNameSpace")  T

Remarks

the "visible" status means whether the PropertySet is visible in PropertiesPanel;
if the NameSpace (as indirectly specified by categoryId resp. categoryName) does not exist, it will be automatically created, as a visible NameSpace



©  Bricsys NV. All rights reserved.