Autodesk.AutoCAD.DatabaseServices Namespace > AttributeDefinition Class
AttributeDefinition Class
Description

 

This .NET class wraps the AcDbAttributeDefinition ObjectARX class. 

 

The AttributeDefinition class represents the ATTDEF entity within AutoCAD. ATTDEF entities are used within block definitions (BlockTableRecords) for AutoCAD to use as templates for creating ATTRIB entities (Attribute objects) when an INSERT (BlockReference) is created that references the block definition.

Class Hierarchy
Visual Basic
Public Class AttributeDefinition
Inherits DBText
C#
public class AttributeDefinition : DBText;
Notes

To set all the non-AttributeReference-specific properties such as position, text string, text height, text rotation, etc. for the attribute, use the methods inherited from Text.

Links
See Also

DBObject, Entity, AttributeReference

   Comments?