Function ProDisplist3dCreate
Description
Creates a 3-D display list using the specified user-supplied create function.
NOTES:
A typical user-supplied create function would call the Creo Parametric TOOLKIT graphics functions.
A view must be present for display list creation. To do this, retrieve an empty part, assembly, or drawing file during the session.
The display is not stored with the model.
Replacement in Object TOOLKIT:
Synopsis
#include <ProDisplist.h>
ProDisplist3dCreate
(
int id
/* (In)
The unique identifier of the display list to be created.
*/
/* (In)
The user-defined function that calls appropriate graphics functions to create a display list. It must return PRO_TK_NO_ERROR if successful, and non-zero for error.
*/
...
/* (In)
The arguments to the user-defined function.
*/
)
Returns
The function successfully created the 3-D display list.
Other
Any other value is the status returned by the user create function.
Sample Code References
User Guide References
Was this helpful?