Share

acedSetCurrentVPort

C++

Acad::ErrorStatus acedSetCurrentVPort(
    int vpnumber
);

File

aced.h

Description

This function sets the current viewport from the viewport index vpnumber. Viewport index numbers are the numbers reported by the CVPORT system variable.

SysVarWillChange and SysVarChanged notification are generated by this function.

Returns Acad::eOk if successful.

Returns Acad::eOutOfRange if vpnumber isn't valid for the current environment.

Parameters

Parameters Description
vpnumber Input index number of viewport to make current

Was this information helpful?