API 文档 > 3D drawings and annotations > Object ProSurffinish > Function ProSurffinishCreate
Function ProSurffinishCreate
Description
Create a surface finish in the specified model. ProAnnotationShow() should be called after creating the surface finish in order for the surface finish to be displayed.
Replacement in Object TOOLKIT:
Licensing Requirement
Synopsis
#include <ProSurfFinish.h>
ProSurffinishCreate
(
ProMdl mdl
/* (In)
The model handle.
*/
/* (In)
The symbol instance data. This data must contain: Zero or more leaders pointing to model surfaces, or, a model surface used for the attachment point. An annotation plane (for solid owned surface finishes). Optionally, variant texts for the surface finish. Consult the Creo Parametric TOOLKIT user's guide for information about how to find the standard surface finish symbols in order to use them during creation.
*/
/* (Out)
The created surface finish.
*/
)
Returns
The function successfully created the surface finish.
One or more input arguments was invalid.
Invalid type of leader or attachment for creation of a surface finish.
Leader or attachment to surface which already has a surface finish.
Can't create the surface finish.
License check failure
User Guide References
这对您有帮助吗?