fmeobjects.FMEPipe.copyLabelFromGeometry

FMEPipe.copyLabelFromGeometry(sourceGeometry)

Copies the label of the ‘sourceGeometry’ onto this geometry. If ‘sourceGeometry’s label is blank or None, this geometry’s label will become None. This method replaces the deprecated copyNameFromGeometry() method.

Parameters:

sourceGeometry (FMEGeometry) – The geometry to copy the label from.

Return type:

None