bim:pset-set-property
(bim:pset-set-property ename
propertyset name value)
This function assigns the specified
value for the
property name (of PropertySet propertyset) for entity
ename.
Arguments
|
ename (ename) the entity to assign the property
value
propertyset (string) the PropertySet name (as Name or Label,
case-insensitive);
if the propertyset does not exist yet, it is
automatically created under "User" NameSpace, as "visible"
and
name (string) the name of the Property (as Name or Label,
case-insensitive) to assign the value for;
if the Property does not exist yet, it is
automatically created in the specified PropertySet, as "visible"
and "per-instance"
value (any
Lisp value) the value to be assigned
|
Return
|
T or NIL
|
Example
|
(bim:pset-set-property ent
"MyPropertySet" "MouTag" "abc") T
(bim:pset-get-property ent "MyPropertySet"
"MouTag") "abc"
|
Remarks
|
both PropertySet
propertyset and
Property name are automatically created (visible,
per-instance)
the Property name is
case-insensitive;
the PropertySet name/label is
case-insensitive;
all PropertyNameSpaces are automatically used
to find the specified PropertySet
|