API 文件集 > Geometry items > Object ProSurface > Function ProSurfaceSameSrfsFind
Function ProSurfaceSameSrfsFind
Description
Finds and returns an array of surfaces that are the same as the input surface. For example, in the case of a cylinder, Creo Parametric creates two half-cylindrical surfaces. If you input one half, the other half is returned by this function.
Replacement in Object TOOLKIT:
Synopsis
#include <ProSurface.h>
ProSurfaceSameSrfsFind
(
ProSolid solid
/* (In)
The owner of the surface.
*/
ProSurface surface
/* (In)
The surface whose same surfaces are to be found.
*/
ProSurface** r_surf_arr
/* (Out)
The returned array of surfaces. This will include the input surface. You must preallocate this array using ProArrayAlloc(). Free it using ProArrayFree()
*/
int* r_size
/* (Out)
The size of the array. This argument is optional (can be NULL).
*/
)
Returns
The function successfully retrieved the information.
One or more of the input arguments are invalid.
See Also
Sample Code References
這是否有幫助?