C++
int acedSetView( const struct resbuf * view, int vport );
File
acedads.h
Description
Establishes a three-dimensional view for a specified viewport.
Note This function can be used in the ARX program environment only when AutoCAD sends the message kInvkSubrMsg to the application.
The acedSetView() function returns RTNORM if successful; otherwise, it returns RTERROR.
Parameters
Parameters | Description |
---|---|
view | Chain of result buffers formatted like the chain returned by acdbTblNext() when applied to the VIEW symbol table |
vport | Viewport number, which identifies which viewport should receive the new view (like the number returned by the CVPORT system variable); if zero, the current viewport receives the new view |