Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 02:22:21 +0000



Tool Configs Info

View Count: 866

[2016-11-16 08:49:21]
kas64h - Posts: 87
I'm using ACSIL to draw 'user-drawn' drawings and setting the drawing properties using Tool.UseToolConfigNum
Later I'm retrieving drawings using sc.GetUserDrawingByLineNumber()
I'd like be able to analyse the Tool returned by this function, and establish it's properties in relation to the Tool Configs.
So for example, is the returned Tool's colour equivalent to the colour set under TC6 etc.
I can't seem to get access to the Tool Configs information, and once set Tool.UseToolConfigNum always returns -1

Thanks
[2016-11-16 10:12:41]
Sierra Chart Engineering - Posts: 104368
ACSIL does not have access to Drawing Tool configurations.

And when retrieving an existing Chart Drawing, it is not associated with a particular Drawing Tool configuration. Only the individual drawing settings can be read.
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
[2016-11-16 12:08:43]
kas64h - Posts: 87
Thank you for your reply.
Without going into detail, due to the limitations you've described, I need to set my drawing properties manually within ACSIL.
I'm drawing a Line Tool and need to Mark one end of the line.
Obviously it's possible in the front end (under the Labels Tab), but I can't see a way of doing it within ACSIL?
I've tried Tool.SquareEdge but that doesn't do it.
I've tried Tool.MarkerType but that doesn't do it - I know from the documentation this is supposed to be for the Marker Tool only, but often these properties work for other drawing types too (Tool.TextAlignment works for the Line tool for example, but is not documented as doing so).

Is there a way of marking the left or right side of a line from within ACSIL, or can such a member be introduced under s_UseTool?

Thanks
[2016-11-17 00:26:44]
Sierra Chart Engineering - Posts: 104368
These will be added to the next release:
s_UseTool::ShowBeginMark;
s_UseTool::ShowEndMark;
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

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

Login

Login Page - Create Account