A3DPDF3DArtworkGetViews
-
A3DStatus
A3DPDF3DArtworkGetViews(A3DPDF3DArtwork *p3DArtwork, A3DUns32 *puiNbViews, A3DPDFView ***pppViews) A3DStatusA3DPDF3DArtworkGetViews(A3DPDF3DArtwork* p3DArtwork,A3DUns32* puiNbViews,A3DPDFView*** pppViews)Returns the views objects stored in the artwork.
The function returns an array of pointer on views objects. The views returned can be issued from native CAD file, or could have been created with
A3DPDF3DArtworkAddView()function. Alternatively if no default view is defined, HOOPS Publish automatically creates one. This automatic view is returned at the end of the array. Note that the views are created during the 3D annotation creation (A3DPDF3DAnnotCreate()), and the automatic view during the 3D annotation insertion (A3DPDFPageInsert3DAnnot()). Consequently, this function should be called after the call toA3DPDFPageInsert3DAnnot()to be sure to get the whole list of views.Return Values
A3D_SUCCESS:
4.1
Parameters
p3DArtwork: The 3D Artwork object to work with.
puiNbViews: The size of the following array of views.
pppViews: The array of pointer on views objects created.
Returns
A3D_SUCCESS in case of success or an error code