Support Board
Date/Time: Wed, 27 Nov 2024 20:30:49 +0000
Post From: Tool.BeginIndex
[2014-10-03 21:32:55] |
QnReally - Posts: 181 |
if (sc.UserDrawnChartDrawingExists(sc.ChartNumber, UniqueLineNumber + ni)) {
Tool.Clear(); if (sc.GetUserDrawingByLineNumber(sc.ChartNumber, UniqueLineNumber + ni, Tool, DRAWING_PITCHFORK_SCHIFF, 0)) { BI = Tool.BeginIndex; BV = Tool.BeginValue; Buffer.Format("Retr LN = %d usi=%d bi=%d bv=%.2f ", UniqueLineNumber + ni, sc.UpdateStartIndex, BI, BV); sc.AddMessageToLog(Buffer, 0); } } I am getting a value of -1 for the Tool.BeginIndex. This used to work a couple of months ago but it stopped working with one of the later releases. I am on 1191 at the moment. Has something changed in the API? I have not changed my code but I understand I could still have a problem on my end. The Tool.BeginValue prints correctly though. Thanks. |