Function ProFileSubtypeGet
Description
Returns the file_type, model_type and/or subtype of a file. For native Creo models, file_type == type.
Synopsis
#include <ProMdl.h>
ProFileSubtypeGet
(
ProPath file
/* (In)
The path to the file.
*/
ProMdlfileType* file_type
/* (Out)
The type of the file.
*/
/* (Out)
The type of the model the file will be in Creo session.
*/
ProMdlsubtype* subtype
/* (Out)
The subtype of the model, PROMDLSTYPE_NONE for types which do not have subtypes. Each of these can be NULL.
*/
)
Returns
The values were successfully determined.
file was NULL, empty, or invalid.
The file could not be found.
The file could not be opened, or could not be read.
Sample Code References
User Guide References
これは役に立ちましたか?