isPropertyValid


(ispropertyvalid  ename  property)

This function verifies whether the specified property is applicable for the object or entity ename.

Arguments

ename  (classic entity name) object or entity ename to query for the given property
property  (string) the name of the property to test; can be specified as "Name~Context"; property name is always case-insensitive

Return

T if property is applicable for the given object or entity

Example

(ispropertyvalid  (entlast)  "LayerId")  T
(ispropertyvalid  (entlast)  "LayerId~Native")  T

Hint

the specified "ident" can be used to uniquely specify the property, as same-named properties can exist in multiple contexts;
the ident always uses the format "Name~Context"

Remarks

this is a BricsCAD specific function !



©  Bricsys NV. All rights reserved.