Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello
Part of my python code contains the following:
class ParameterChange:
def __init__(self,dia, length):
self.DIA = dia
self.LENGTH = length
If I execute it and also run e.g.
param = ParameterChange(1.1,2.2), I will get for param.DIA...1.1 but python says that param.LENGTH does not exist. Just the first works.
In standard python it works but not in the Spyder version in fusion 360.
Does anybody know why ?
Best Regards
Peter
Solved! Go to Solution.