Share

AcDbViewportTableRecord

Class Hierarchy

AcRxObject
    AcGiDrawable
        AcDbObject
            AcDbSymbolTableRecord
                AcDbAbstractViewTableRecord
                    AcDbViewportTableRecord

C++

class AcDbViewportTableRecord : public AcDbAbstractViewTableRecord;

File

dbsymtb.h

Description

Objects of this class represent viewport arrangements when TILEMODE == 1 within AutoCAD (the ViewportTable and its records are not used when TILEMODE == 0). The AcDbViewportTable (referred to in AutoCAD and DXF documentation as the VPORT table) is the container or owner of objects of this class.

The AcDbViewportTable is unique in that it can contain multiple AcDbViewportTableRecords with the same name. This is necessary because when a multiple viewport configuration is saved, all viewports in the configuration must share the name, but each viewport has its own AcDbViewportTableRecord created to save the data for that viewport.

Remarks

  • The set of ViewportTableRecords that are currently active will all have the name "*ACTIVE". The first "*ACTIVE" ViewportTableRecord in the ViewportTable is always for the current viewport.
  • Within AutoCAD, objects of this class are created and added to the ViewportTable whenever the VPORTS command's "save" option is used to save a viewport configuration with a name that does not already exist.

Links

AcDbViewportTableRecord Methods

See Also

AcDbSymbolTableRecord, AcDbViewportTable, AcDbObject

Was this information helpful?