Get the graph object type
GetObjectType()
EX1
import PyOrigin Graph=PyOrigin.FindGraphLayer('Graph1') #return 8 print(Graph.GraphObjects('Rect').GetObjectType())