Bend via HOTSPOT2
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-07-22 01:32 PM
‎2016-07-22
01:32 PM
can anybody help me with bend via HOTSPOT2.
I have polyline and i want add to 2D script bend line via hotspot, but I dont know how do it.
I send screen, how I do that.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-07-22 06:06 PM
‎2016-07-22
06:06 PM
Like this?

It is kind of complex. You need to script the whole thing. Look into the calculations needed to create arcs based on chord length and arc radius, you'll need to calculate start angle, end angle, etc...
EDIT: Forgot to mention that the GDL Cookbook has an example of this. I kind of remember that it had a very slight mistake in the formulas, so I did my own research on the subject.

It is kind of complex. You need to script the whole thing. Look into the calculations needed to create arcs based on chord length and arc radius, you'll need to calculate start angle, end angle, etc...
EDIT: Forgot to mention that the GDL Cookbook has an example of this. I kind of remember that it had a very slight mistake in the formulas, so I did my own research on the subject.
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-07-23 11:44 AM
‎2016-07-23
11:44 AM
Yea, this is it, have you any exemple basecode?