Preset property

Sets or returns whether the Attribute or AttributeDef is a preset attribute (True) or not (False). A preset attribute sets the attribute to its default, or preset, value when the user inserts the block. An attribute may exist as only one of four optional modes: constant, preset, invisible, or verify.

 

Syntax

BooleanVariable = object.Preset

object.Preset = <Boolean>

Where:

     BooleanVariable specifies whether the attribute mode is preset or not.

     object is the Attribute object.

 

Examples...

Attribute properties example

 


© Bricsys NV. All rights reserved.