Share

AcDbAbstractViewTableRecord::setViewDirection

C++

void setViewDirection(
    const AcGeVector3d& viewDirection
);

Description

This function sets the TableRecord to use viewDirection (in WCS coordinates) as the vector from the view's target to the view's camera. The camera is moved to reflect the new setting. This also represents the point coordinate set by the AutoCAD VPOINT command. See the AutoCAD VPOINT command documentation for more information on view direction.

The view direction is used for DXF group code 11 in AcDbViewTableRecords and group code 16 in AcDbViewportTableRecords.

Parameters

Parameters Description
viewDirection Input vector to be used as the view direction

Links

AcDbAbstractViewTableRecord

Was this information helpful?