fmeobjects.FMECompositeSurface.getPartAt

FMECompositeSurface.getPartAt()

getPartAt(index),

This method returns the surface at the given index. None is returned if the index is out of range.

Parameters:

index (int) – The index of the surface part to return.

Return type:

FMESurface or None

Returns:

The surface at the given index. Note: This method returns a terminal area type of the FMESurface; i.e. one of the leaf classes in the FMESurface inheritance graph. For example, a FMEMesh is returned if the area truly is a Mesh.

Raises:

FMEException – An exception is raised if an error occurred.