bim:attributeset-create-property
(bim:attributeset-create-property
asetName propName propLabel propDesc
visible [dataType])
This functions create a new Property
propName within
AttributeSet asetName
using the (optional) propLabel Property label and
with (optional) propDesc
Property description; visibility status
visible is
mandatory, an optional preset data type for the property can be
specified.
|
Arguments |
asetName (string) the name of the AttributeSet where to
create the new Property |
|
Return |
T or NIL, indicating success or failure |
|
Example |
(bim:attributeset-create-property "TestSet" "TestProp" "---label---" NIL T) T |
|
Remarks |
the "visible" status means whether the AttributeSet is visible in PropertiesPanel |
|
Note |
if dataType is omitted or NIL,
the new property will be created with undefined property data
type (shown as "[Extended type]" in BimProperties
dialog); |
| © Bricsys NV. All rights reserved. |