Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 21:01:54 +0000



sc.GetUserDrawingByLineNumber()

View Count: 647

[2018-07-25 14:31:10]
kas64h - Posts: 87
I'm having a problem with the sc.GetUserDrawingByLineNumber() function whereby the s_UseTool structure returned has its ChartNumber member always set to 0

Every other member - LineNumber, BeginIndex, EndIndex etc. etc. is all set fine, it's just ChartNumber continually comes back as 0 (I'm clearing the s_UseTool structure before passing it to the function)

I would have expected the s_UseTool structure ChartNumber to be set to the Chart Number the Drawing is on, as is the case with the sc.GetUserDrawnChartDrawing() function. I'm using Sierra version 1784.

Thanks
[2018-07-25 17:58:58]
Sierra Chart Engineering - Posts: 104368
Support for setting the ChartNumber when using this function will be added to the next release.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account