fmeobjects.FMELine.copyLabelFromGeometry
- FMELine.copyLabelFromGeometry(sourceGeometry)
Copies the label of the ‘sourceGeometry’ onto this geometry. If ‘sourceGeometry’s label is blank or
None
, this geometry’s label will becomeNone
. This method replaces the deprecated copyNameFromGeometry() method.- Parameters:
sourceGeometry (FMEGeometry) – The geometry to copy the label from.
- Return type:
None