Share

DrawableTraits Class

Description

This .NET class wraps the AcGiDrawableTraits ObjectARX class.

This class allows a drawable to express its graphical traits to the graphics system. DrawableTraits exposes additional traits that are intended to be consistent for the whole drawable. This is a super set of those traits exposed in SubEntityTraits, which can be changed during the elaboration of the object. To express this relationship, DrawableTraits derives from SubEntityTraits.

The DrawableTraits interface is only available to an object during the setAttributes call made before WorldDraw(). Only very specialized drawables will make use of this extension to SubEntityTraits.

Class Hierarchy

Autodesk.AutoCAD.GraphicsInterface.SubEntityTraits
    Autodesk.AutoCAD.GraphicsInterface.DrawableTraits
        Autodesk.AutoCAD.GraphicsInterface.NonEntityTraits
        Autodesk.AutoCAD.GraphicsInterface.ViewportTraits
        Autodesk.AutoCAD.GraphicsInterface.VisualStyleTraits

C#

public abstract class DrawableTraits : SubEntityTraits;

Visual Basic

Public abstract Class DrawableTraits
Inherits SubEntityTraits

Links

DrawableTraits Enumerations, DrawableTraits Methods, DrawableTraits Properties

Was this information helpful?