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