Share

acedRestoreCurrentView

C++

Acad::ErrorStatus acedRestoreCurrentView(
    const AcDbObjectId& namedViewId
);

File

aced.h

Description

Restore a named view to the current active viewport. This function restores the view parameters, layers state, and all associated properties to the current active viewport. The fucntion is equivalent to the -view restore command.

Returns Acad::eOk if it successfully restores a named view into the current active viewport.

Parameters

Parameters Description
namedViewId Input object ID of a named view to be restored to the current active viewport

Was this information helpful?