Timeline doc inconsistency

Timeline doc inconsistency

MichaelT_123
Advisor Advisor
318 Views
1 Reply
Message 1 of 2

Timeline doc inconsistency

MichaelT_123
Advisor
Advisor

Hi TF360,

 

Could you look at … the SMALL documentation problem/inconsistency.

 

Based on the documentation – page Timeline.item Method

returnValue = timeline_var.item(index)

returnValue is of type TimelineObject

It is not always the case.

It could also be of the type: TimelineGroup.

 

The issue propagates into page TimelineObject Object where:

propertyValue = timelineObject_var.entity    # = timeline_var.item(index).entity

based on documentation should

“Returns null if this is a TimelineGroup object"

It is not the case.

Attempt to get entity property from TimelineGroup object generates error:

“    return _fusion.TimelineObject__get_entity(self)

RuntimeError: 3 : Associated feature is invalid.”

 

Regards

MichaelT

MichaelT
0 Likes
319 Views
1 Reply
Reply (1)
Message 2 of 2

Rushikesh.kadam
Autodesk
Autodesk

@MichaelT_123 Thank you for reporting the case. I have created a ticket and assigned it to the concerned team.

 

------------------------------------------------------------------------------------------------------------------------------

If my reply was helpful, please click the "Accept as Solution" button. It helps others get the answer quickly! A "Like" is always welcomed.




Rushikesh Kadam
Senior QA Engineer
Quality Assurance
Autodesk, Inc.


0 Likes