Message 1 of 5
Bug in querying TimelineObject.healthState and TimelineObject.errorOrWarningMess
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
Fusion 360 crashes when query the TimelineObject.healthState and the TimelineObject.errorOrWarningMessage properties of the following objects:
- Plane
- Sketch
- Component Insert
- Position
- CopyPaste
According to the documentation, it should return UnknownFeatureHealthState (5) and an empty string.
>>> product = app.activeProduct
>>> tl = product.timeline
>>> t = tl.item(0)
>>> print(t.name)
Plane1
>>> print(t.healthState)
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:/Users/jerome/AppData/Local/Autodesk/webdeploy/production/41d52fa717ba4840fb5195487a087e5d0282fc3f/Api/Python/packages\adsk\fusion.py", line 30012, in _get_healthState
return _fusion.TimelineObject__get_healthState(self)
RuntimeError: 1 : Unknown exception
>>> print(t.errorOrWarningMessage)
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:/Users/jerome/AppData/Local/Autodesk/webdeploy/production/41d52fa717ba4840fb5195487a087e5d0282fc3f/Api/Python/packages\adsk\fusion.py", line 30019, in _get_errorOrWarningMessage
return _fusion.TimelineObject__get_errorOrWarningMessage(self)
RuntimeError: 1 : Unknown exception
Jérôme Briot, Freelance engineer - Mechanical design and prototyping
3D Print Plus / Pro | IDF Import | GitHub To Fusion 360 | Tube Bending Data Exchanger | Slice Data Export
Memory Used | Basic Calculator | Check Computer Specifications | Import spline from any CSV file
