HasAttribute Method

Determines whether a feature has a given attribute.

Syntax

feature.HasAttribute(String): Boolean

where String is name of the attribute. This name should be put between double-quotes.

Example

Boolean.2 =
PartBody\Hole.1.HasAttribute("Real.1")

Sample

KwrObject.CATPart

 

Up Next