Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is there a way to iterate through the timeline and tell if any of the features are reporting errors: showing up as red or yellow in the GUI?
I'm iterating through the timeline and calling isValid on each entity represented by each timeline entry and it is always returning true even if I break a feature such that it becomes yellow or red so I'm assuming isValid is not what I'm looking for.
app = adsk.core.Application.get() ui = app.userInterface design = app.activeProduct timeline = design.timeline for obj in timeline: ui.messageBox(obj.entity.objectType + ": " + str(obj.entity.isValid))
Solved! Go to Solution.