fmeobjects.FMEMultiArea.getPartAt
- FMEMultiArea.getPartAt(index)
This method returns the area at the given index.
None
is returned if the index is out of range.- Parameters:
index (int) – The index of the area part to return.
- Return type:
FMEArea or None
- Returns:
The area at the given index. Note: This method returns a terminal area type of the
FMEArea
; i.e. one of the leaf classes in theFMEArea
inheritance graph. For example, aFMEPolygon
is returned if the area truly is a polygon.- Raises:
FMEException – An exception is raised if an error occurred.