Login Page - Create Account

Support Board


Date/Time: Wed, 17 Sep 2025 02:16:01 +0000



Post From: Issue with sc.GetUserDrawnChartDrawing(sc.ChartNumber, DRAWING_TEXT, ChartDrawing, -1)

[2022-04-09 07:29:45]
User99735 - Posts: 234
sc.GetUserDrawnChartDrawing(sc.ChartNumber, DRAWING_TEXT, ChartDrawing, -1)

As per the manual "Also you can give a negative index to specify drawings from the last drawing that was added to the chart. For example, if DrawingIndex is -1, the function will return the last drawing matching the drawing type that was added to the chart."

However whenever any drawing text is selected, the above function returns the selected drawing instead of the last user drawn text.