Default Reference Geometry

Shows a better way to access reference geometry.  Accessing by the geometry names is not recommended because this can change depending on the user's operating system language and whether they have renamed the reference geometry.

# create a new part
P = Part("Test")

# access reference geometry
print P.XYPlane
print P.YZPlane
print P.ZXPlane
print P.XAxis
print P.YAxis
print P.ZAxis
print P.Origin

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.