API ドキュメンテーション > Solids and parts > Object ProSolid > Function ProSolidShrinkwrapMdlnameCreate
Function ProSolidShrinkwrapMdlnameCreate
Description
Exports a shrinkwrap version of the provided model. Note: In Creo 3 this function does not support names longer than 31 characters. It will return PRO_TK_BAD_INPUTS for longer names. The support for ProMdlName will be added in a future release.
Replacement in Object TOOLKIT:
Synopsis
#include <ProShrinkwrap.h>
ProSolidShrinkwrapMdlnameCreate
(
ProSolid solid
/* (In)
The model to be exported as a shrinkwrap.
*/
ProSolid output_model
/* (In)
The model where the shrinkwrap geometry will be created. This could be an empty model produced by ProSolidMdlnameCreate(), or a template model with predefined geometry. If exporting VRML or STL, this can be NULL.
*/
ProMdlName output_file
/* (In)
The name of the file to create, if exporting VRML or STL. (The ".stl" or ".wrl" extension will be appended automatically, and the file created in the current directory.) If exporting as a Creo Parametric model, this can be NULL.
*/
ProShrinkwrapOptions output_options
/* (In)
The structure defining the shrinkwrap options.
*/
)
Returns
The function successfully produced the shrinkwrap model.
Model is in read-only state.
One or more input arguments is invalid.
Invalid combination of input arguments.
an error occurred and the function failed.
Name length of the output file is more than 31 chars.
The function does not have permission to operate on this model.
Sample Code References
User Guide References
これは役に立ちましたか?