Share

AcGiViewportTraits

Class Hierarchy

AcRxObject
    AcGiSubEntityTraits
        AcGiDrawableTraits
            AcGiViewportTraits

C++

class AcGiViewportTraits : public AcGiDrawableTraits;

File

acgiviewport.h

Description

Viewports, on both Model and Layout tabs, now recieve a call to their AcDbViewport::setAttributes() method before AcDbViewport::worldDraw(), similar to entities. This gives viewports the opportunity to pass per-viewport properties to the display and rendering systems.

A concrete instance of this interface class is passed to both AcDbViewport::setAttributes() and AcDbViewportTableRecord::setAttributes(). Set calls on this interface should then be made by the viewport object.

This class derives from AcGiDrawableTraits.

Links

AcGiViewportTraits Enumerations, AcGiViewportTraits Methods

Was this information helpful?