Autodesk.AutoCAD.GraphicsInterface Namespace > SubEntityTraits Class
SubEntityTraits Class
Description

 

This .NET class wraps the AcGiSubEntityTraits ObjectARX class. 

 

This class is used to control the current values of the color, layer, linetype, fill type, and graphics system marker attributes for graphics primitives. 

 

Attribute settings are used for all graphics primitives drawn until the setting changed via one of the "set" functions in this class or the end of the current WorldDraw() or ViewportDraw() execution. 

 

For instance, you can set the color attribute to blue and all of the subsequent geometry drawn during the current WorldDraw() or ViewportDraw() execution appears blue until you set the current color to something else.

Class Hierarchy
Autodesk.AutoCAD.GraphicsInterface.SubEntityTraits
    Autodesk.AutoCAD.GraphicsInterface.DrawableTraits
Visual Basic
Public abstract Class SubEntityTraits
Inherits RXObject
C#
public abstract class SubEntityTraits : RXObject;
Links
   Comments?