fmeobjects.FMEFeature.numParts¶
-
FMEFeature.
numParts
( flatten,splitDonuts ) ¶ -
Get the number of parts that make up the geometry of the feature.
Parameters: - flatten(bool) – If flatten is
True
, then return the number of primitive parts drilling down into sub aggregates. If flatten isFalse
then it returns the number of high level parts with some parts potentially being aggregates. - splitDonuts(bool) – If splitDonuts is
True
, each ring of a donut will count as a separate part.
Return type: Returns: The number of parts that make up the feature.
- flatten(bool) – If flatten is