SetAttributeInteger Method  

Assigns the value specified in the second argument to the parameter whose name is specified in the first argument. parameterName is the name of the integer type parameter whose value is to be modified. Put  parameterName between quotation marks ("). 

Syntax

feature.SetAttributeInteger(String, Integer): Void

where the first argument  is name of the attribute and 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