SetAttributeInteger Method

Assigns a value to an integer type attribute.

Syntax

feature.SetAttributeInteger(String, Integer): Void

where the first argument  is name of the attribute while the second is the value to be assigned to it.

Example

if PartBody\Hole.1\Integer.1 <> 3
PartBody\Hole.1 .SetAttributeInteger("Integer.1", 3)

Sample

KwrObject.CATPart

 

Back Up Next