Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 00:41:16 +0000



Post From: Cannot find ACSIL to Show/Hide an individual Tool.Level[ ]

[2023-10-12 14:30:43]
User92573 - Posts: 530
Dear Support

I've looked through the documentation and the header file .h but cannot locate the the means to replicate the "Show Levels" checkbox as can be seen/selected in the retracement tools and similar.


  //.h

  DrawingType = DefaultUseTool.DrawingType;
  LineWidth = DefaultUseTool.LineWidth;
  LineStyle = DefaultUseTool.LineStyle;

  // -------------------------------------

  // SCSFExport scsf_UseToolExampleRewardRisk(SCStudyInterfaceRef sc)

  Tool.LevelColor[0] = COLOR_DARKRED;
  Tool.LevelStyle[0] = LINESTYLE_SOLID;
  Tool.LevelWidth[0] = 2;

  // But no equivalent to Hidden


  // I can select exclude code block to comment out the block for that level but then I cannot reselect/make visible when the tool is selected.


Please can you provide example ACSIL code to set individual levels to show/hide.

Many thanks.
Date Time Of Last Edit: 2023-10-12 14:36:51