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.
ModelSpace 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
The mode indicates what happens when a block with the attribute is inserted.Value Description vicAttributeModeConstant The attribute text is a fixed value and the value is preset. vicAttributeModeInvisible The attribute text is invisible. vicAttributeModeNormal The attribute is visible and editable. The value is entered once. vicAttributeModePreset The attribute is set to the default value if a preset value exists. vicAttributeModeVerify The attribute value is entered twice; upon block insertion, a prompt displays to verify that the attribute value is correct. - 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.