Get axis X coordinate of the center of the object.
GetX()
The axis X coordinate of the center of the object.
EX1
import PyOrigin #active a graphs with legend Graph=PyOrigin.ActiveLayer() #The X corrdinate of the object print('The X corrdinate of the object is:') print(Graph.GraphObjects('Legend').GetX())
GraphObject::SetX