API 文档 > Creo Parametric fundamentals > Object ProMdl > Function ProSessionMdlList
Function ProSessionMdlList
Description
Retrieves the list of objects of the specified type in the Creo Parametric workspace.
Replacement in Object TOOLKIT:
Synopsis
#include <ProMdl.h>
ProSessionMdlList
(
ProMdlType model_type
/* (In)
A valid model type (PRO_PART, PRO_ASSEMBLY, and so on).
*/
ProMdl** p_model_array
/* (Out)
An array of objects found. The function allocates the memory for this argument. To free it, call the function ProArrayFree().
*/
int* p_count
/* (Out)
The number of models in p_model_array.
*/
)
Returns
The function successfully retrieved the information.
No objects were found in the workspace.
The input argument is invalid.
See Also
Sample Code References
User Guide References
这对您有帮助吗?