bim:delete-property
(bim:delete-property ename
propertyName [categoryId | categoryName])
Deletes the specified property
propertyName (string), for the specified entity ename.
Arguments
|
ename the entity to query, as normal entity or as VLA
object name
propertyName name (string) of a property supported by the
specific BIM Element type, as the entity is classified
categoryId optional BIM property category ID, can be omitted
(bcBimCategoryStandard is used then); see Category Constants
---or---
categoryName optional BIM category name as string (can be an
empty string for bcBimCategoryStandard), see Category
Constants
|
Return
|
T if the property was
removed; NIL in case of an error;
(T is also returned, if there was no such
property present; hence, the T result indicates that there is no
such property at the entity anymore)
|
Example
|
(bim:set-bimtype ent
"MyProperty") T
(bim:delete-property ent "MyProperty")
T
(bim:delete-property ent "MyPropertyX")
T
|
Remarks
|
see (bim::set-property)
all property names are always case-sensitive
!
|