SetAttributeBoolean Method

Assigns a value to an boolean type attribute.

Syntax

feature.SetAttributeBoolean(String, Boolean): Void

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

Example

if PartBody\Pad.1\Boolean.1 <> true
PartBody\Pad.1.SetAttributeBoolean("Boolean.1", true)

Sample

KwrObject.CATPart

 

Back Up Next