Category 3D drawings and annotations, Object ProSurffinish

Function ProSurffinishSrfcollectionSet


Description
Assigns the surface collection references assigned to the surface finish. This overwrites all current surface finish references. Note: surface collections may only be used for surface finishes in annotation elements.
Licensing Requirement
TOOLKIT for 3D Drawings
Synopsis
#include <ProSurfFinish.h>
ProErrorProSurffinishSrfcollectionSet(
ProSurfFinish* surf_finish
/* (In)
The surface finish.
*/
ProCollection srf_collection
/* (In)
The surface collection assigned to the surface finish.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_BAD_CONTEXTThe surface finish is not in an annotation element and cannot use a surface collection reference.
PRO_TK_NO_LICENSELicense check failure.
PRO_TK_CANT_WRITECould not modify the given item because it has read-only access.
See Also
ProSurffinishSrfcollectionGet

Manual References:

  1. Annotations: Annotation Features and Annotations: Surface Finish Annotations
  2. Annotations: Annotation Features and Annotations: Surface Finish Annotations