How to get rebar shape handle reference for dimensions using API

How to get rebar shape handle reference for dimensions using API

aleksandr_nekrasov7ZPGJ
Explorer Explorer
147 Views
2 Replies
Message 1 of 3

How to get rebar shape handle reference for dimensions using API

aleksandr_nekrasov7ZPGJ
Explorer
Explorer

When creating dimension in UI it conveniently suggests to select `shape handles`, displayed in status bar:

aleksandr_nekrasov7ZPGJ_0-1776697065650.png

 

These handles include:

* Bar Plane

* Out Of Plane Extent

* End of Bar

* Start of Bar

 

I compared manually created reference with the references returned from the `get_Geometry` call - manually created reference is similar to a reference for one of the lines but without `LINEAR` suffix and has reference type NONE.

 

Is it possible to get the same reference using API?

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

navya_gelli
Autodesk
Autodesk

Hi @aleksandr_nekrasov7ZPGJ,

I wanted to check in and see if you still needed assistance, or if you found a solution to your question already? Let us know if you need further assistance by providing an update or if you have found a solution, please share it with the community so other members who may have the same question could learn from your experience.

All the best,

Navya | Community Manager

0 Likes
Message 3 of 3

aleksandr_nekrasov7ZPGJ
Explorer
Explorer

Haven't found the solution yet - there is simply no API to do that. Here are some other examples from UI that I would like to be able to add via API:

aleksandr_nekrasov7ZPGJ_0-1777530354220.png

aleksandr_nekrasov7ZPGJ_1-1777530393608.pngaleksandr_nekrasov7ZPGJ_2-1777530441119.png

 

aleksandr_nekrasov7ZPGJ_3-1777530512780.png

 

0 Likes