Timeline error flag

Timeline error flag

MichaelT_123
Advisor Advisor
440 Views
3 Replies
Message 1 of 4

Timeline error flag

MichaelT_123
Advisor
Advisor

Hi TF360,

 

Often, an error happens in one or more Timeline objects during parametric simulation.

Yes, it is possible to detect such errors and the index(es) in the Timeline Object by simply enumerating the whole Timeline and checking the health of every item. The script is trivial, but it consumes valuable processing time.

Obviously, the F360 engine has such functionality built-in already.

The question…

Would it be possible to expose such an “error/warning/health flag” via API as the supplementary property of Timeline Object?

 

Regards

MichaelT

MichaelT
0 Likes
441 Views
3 Replies
Replies (3)
Message 2 of 4

BrianEkins
Mentor
Mentor

I'm not sure what the question is. As you said, it is possible now to get the health from each item in the timeline. Are you suggesting some new functionality that would return a list of everything that's currently not healthy?

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
Message 3 of 4

MichaelT_123
Advisor
Advisor

Hi Mr BrianEkins,

 

Yes, a global flag indicating an error somewhere on the Timeline would be very useful. 

Something like:

propertyValue = timeline_var.isHealthy

Another option would be pooling all faulty timeline objects and presenting them as a list.

Something like:

propertyValue_lst = timeline_var.warningsOrErrors

 

I anticipate that such extension(s) would be pretty easy to implement. Also, it wouldn't cause backward compatibility/interference issues to the whole F360 API system.

 

Regards

MichaelT

 

 

 

MichaelT
0 Likes
Message 4 of 4

MichaelT_123
Advisor
Advisor

Hi Mr BrianEkins,

 

I have discovered the reason for your confusion (and now mine also) … which stems from the vernacular/naming convention of related objects.

There are two of them whose names are strikingly similar.

  • Timeline Object               as Design.timeline
  • TimelineObject                as Design.timeline.item(index)

In my inquiry, I referred to Timeline Object (Design.timeline).

 

Regards

MichaelT

MichaelT
0 Likes