Share

acgsGetViewParameters

C++

ACCORE_PORT Adesk::Boolean acgsGetViewParameters(
    int viewportNumber, 
    AcGsView * pView
);

File

acgs.h

Description

Gets the view parameters for the indicated viewport. The input viewportNumber corresponds to the viewport identification number (this is the same type of number returned by the CVPORT system variable).

Parameters

Parameters Description
viewportNumber Input view number
pView Output view parameters

Returns

Returns Adesk::kTrue if the 2d->3d view definition copy succeeded (the specified viewport exists and is in a safe state for queries) and returns Adesk::kFalse otherwise.

Previous Declaration

AutoCAD 2025 and Earlier

Adesk::Boolean acgsGetViewParameters(int viewportNumber, AcGsView * pView);

Was this information helpful?