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
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?
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
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.
In my inquiry, I referred to Timeline Object (Design.timeline).
Regards
MichaelT
Can't find what you're looking for? Ask the community or share your knowledge.