Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 05:41:12 +0000



Post From: tool.UseToolCfgNum = 1; not picking up line style and line width changes

[2014-07-04 01:33:05]
onnb - Posts: 660
I am drawing using tool.UseToolCfgNum = 1;

I am on build 1145

I am seeing that if I update color in the tool config from Global Settings it works great. I can also update Mark on both ends and that is works too.

If I update the line style or line width in the tool configuration, these for some reason are not picked up when I draw from ACSIL.

my code looks something like this:
s_UseTool tool;
  tool.Clear();
  tool.ChartNumber = sc.ChartNumber;
  tool.Region = 0;
  tool.DrawingType = DRAWING_LINE;
  tool.LineNumber = line.lineNumber;
  tool.AddMethod = UTAM_ADD_OR_ADJUST;
  tool.UseRelativeValue = 0;
  tool.BeginIndex = line.x1;
  tool.EndIndex = line.x2;
  tool.BeginValue = line.value;
  tool.EndValue = line.value;
  tool.UseToolCfgNum = 1;
  sc.UseTool(tool);

Date Time Of Last Edit: 2014-07-04 01:33:37