Category 3D interface, Object ProLayerfilterdata

Function ProLayerfilterdataCountsGet


Description
Gets the counts from a ProLayerfilterdata object passed to the ProIntfimportLayerFilter action. These are the counts shown in the Creo Parametric layer import dialog.
Replacement in Object TOOLKIT: pfcImportedLayer::SurfaceCount
pfcImportedLayer::CurveCount
pfcImportedLayer::TrimmedSurfaceCount
Synopsis
#include <ProIntfimport.h>
ProErrorProLayerfilterdataCountsGet(
ProLayerfilterdata data
/* (In)
The imported layer information.
*/
int* curve_count
/* (Out)
The curve count for the designated layer.
*/
int* surface_count
/* (Out)
The surface count for the designated layer.
*/
int* trimmed_surface_count
/* (Out)
The trimmed surface count for the designated layer.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe function arguments were invalid.

Manual References:

  1. Interface: Data Exchange: Modifying the Imported Layers
  2. Interface: Data Exchange: Modifying the Imported Layers