Question: I need help figuring out where an error comes from in my python code. Includes OOP. R = position1.get_geometry().get_units().get_measure() position1 is an instance of a
I need help figuring out where an error comes from in my python code. Includes OOP.
R = position1.get_geometry().get_units().get_measure()
position1 is an instance of a class
get_geometry() is a method of position1's class that returns an instance of another class
get_units() is a method of the class returned in the previous line that returns an instance of another class
get_measure is a method of the class returned in the previous line that returns an attribute of this final class.
This is the error:
Traceback (most recent call last): File "C:/Users/cdd77/PycharmProjects/LA3/main.py", line 11, in
I'm not sure how this error got here or how to resolve it. If you need more information please tell me.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
