(API) Query mechanism for non-extreme bar forces?

(API) Query mechanism for non-extreme bar forces?

Anonymous
Not applicable
541 Views
2 Replies
Message 1 of 3

(API) Query mechanism for non-extreme bar forces?

Anonymous
Not applicable

Hi,


Apologies if this is a stupid question or if it's been asked on the forum before (I did try searching and I'm still new to the API!), but I wondered if there is a way to use the query mechanism to get the actual (non-extreme) forces at a number of points along a bar (a bit like querying the IRobotExtremeValueType.I_EVT_FORCE_BAR_FX result ID, but I want the actual forces in the bar at that point, not the extreme ones along the element).  I think I could manage this using the force server and a bar collection, but the query mechanism seems so much quicker for large selections of bars - I just don't know which ResultIds to use.

 

Thanks,


Alan.

 

0 Likes
542 Views
2 Replies
Replies (2)
Message 2 of 3

Rafal.Gaweda
Autodesk Support
Autodesk Support

Hi @Anonymous

 

I think you should use I_RPT_BAR_DIV_POINT (and I_RPT_BAR_RELATIVE_POINT) instead I_RPT_BAR_DIV_COUNT from example



Rafal Gaweda
0 Likes
Message 3 of 3

MarekWiecek
Alumni
Alumni

Hi @Anonymous,

Regarding ResultIds, you can use the values of IRobotExtremeValueType (same as for extremes), e.g. IRobotExtremeValueType.I_EVT_FORCE_BAR_FX to read values of bar forces. 

 

Regards,

Marek