Balloon Leader Line Point Alignment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, I'm trying to get the balloon leader lines lined up with respect to the reference line (Pink). I don't need it to auto balloon as I need to select which parts I need listed. My plan was to select with the reference line with "CommandManager.Pick(SelectionFilterEnum", then select the balloon leader line point (Refer to the photos attached - the blue circle) to be my X, Y point of reference, After that I would select each leader line point I want to have lined up to be inline to the reference line (Pink) I initially selected. I have what feels like look at every post in regards to leader lines, balloons, and points and I have not seen a solution. I fall short when trying to be able to get the location or any point of reference with a existing leader line point, it seems the API doesn't recognize these points as a way to call them back. I have been able to make new balloons with leader lines and multiple points, I have also been able to get the location of my mouse click (X, Y), and I have also gotten 2 different views lined up parallel by reference lines I selected.
I have checked object collection and balloon object.
https://help.autodesk.com/view/INVNTOR/2019/ENU/?guid=GUID-CC73C873-6841-4B2E-8A47-E690BA113D6E
https://help.autodesk.com/view/INVNTOR/2019/ENU/?guid=GUID-6C4C98CB-8909-48EF-B73E-F663424D5B41
The first photo is of how I would like the balloons to look after I select them with the proper coding.
The second photo is what I would do to select how many leader line points I want and roughly where there will be.
Any advice or help would be appreciated, I don't have any code that this needs to go into, I would be running it separately every time (Which is okay with me).
Please note, I have attached a simple sheet metal part on a drawing but in reality the drawing models I will be using this on have many parts listed but due to a NDA, I will not be providing an detail on that, sorry.
I will also be having different balloon numbers, unlike this example with multiple "1" balloons.
Thank you very much!