API Documentation > Windows and views > Object ProView > Function ProViewMatrixGet
Function ProViewMatrixGet
Description
Retrieves the transformation matrix for the specified view. This matrix provides the transformation from the object's coordinate system to logical screen coordinates. This matrix does not contain any transformation for the members of an assembly.
Replacement in Object TOOLKIT:
Synopsis
#include <ProView.h>
ProViewMatrixGet
(
ProMdl model
/* (In)
The handle to a part, assembly, or drawing. If this is NULL, the function uses the current object.
*/
ProView view_handle
/* (In)
The view handle. If the view is NULL, the function uses the current view.
*/
ProMatrix matrix
/* (Out)
The view transformation matrix.
*/
)
Returns
Function successfully retrieved the information.
One or more of the input arguments are invalid.
A general error occurred and the function failed.
Sample Code References
User Guide References
Was this helpful?