Login Page - Create Account

Support Board


Date/Time: Mon, 13 Jan 2025 05:58:44 +0000



Post From: VpB underlying study of VbP tool

[2017-03-27 07:51:05]
User132748 - Posts: 159
Does s_UseTool::AssociatedStudyID property work in 1531 build? It always returns zero.

My code:

int DrawingIndex = -1; // last drawing
s_UseTool DrawingObject;

if (sc.GetUserDrawnChartDrawing(sc.ChartNumber, DRAWING_VOLUME_PROFILE, DrawingObject, DrawingIndex))
{
  SCString logMsg;
      
  logMsg.Format("Underlying VbP study <%i>", DrawingObject.AssociatedStudyID);
  sc.AddMessageToLog(logMsg,0);
}