IntelliCAD 11.1 Object Library
AddAttributeDef Method
See Also 
Height

A double-precision variable representing the height (in drawing units) of the attribute text.

Mode
The mode indicates what happens when a block with the attribute is inserted.
Prompt

The text to be displayed to the user.

InsertionPoint
A Point object representing the location of the attribute.
Tag
Represents each occurrence of the attribute.
Value
The default value of the attribute.
Block Collection : AddAttributeDef Method

Description

Adds an Attribute Definition at the given insertion point and other attribute information.

Syntax

Visual Basic
Public Function AddAttributeDef( _
   ByVal Height As Double, _
   ByVal Mode As AttributeMode, _
   ByVal Prompt As String, _
   ByVal InsertionPoint As Point, _
   ByVal Tag As String, _
   ByVal Value As String _
) As AttributeDef

Parameters

Height

A double-precision variable representing the height (in drawing units) of the attribute text.

Mode
ValueDescription
vicAttributeModeConstantThe attribute text is a fixed value and the value is preset.
vicAttributeModeInvisibleThe attribute text is invisible.
vicAttributeModeNormalThe attribute is visible and editable. The value is entered once.
vicAttributeModePresetThe attribute is set to the default value if a preset value exists.
vicAttributeModeVerifyThe attribute value is entered twice; upon block insertion, a prompt displays to verify that the attribute value is correct.
The mode indicates what happens when a block with the attribute is inserted.
Prompt

The text to be displayed to the user.

InsertionPoint
A Point object representing the location of the attribute.
Tag
Represents each occurrence of the attribute.
Value
The default value of the attribute.

See Also

© 2022 IntelliCAD Technology Consortium. All Rights Reserved.