Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 13:53:44 +0000



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

View Count: 991

[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
[2014-07-04 06:32:33]
Sierra Chart Engineering - Posts: 104368
We will check on this.
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
[2014-07-04 13:43:52]
Al SC Developer - Posts: 434
This will be addressed in ver 1157.

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

Login

Login Page - Create Account