Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 00:26:31 +0000



Post From: ACSIL: short horizontal line tool

[2013-07-04 01:34:16]
StevieD - Posts: 39
This can be done in ACSIL. It involves a drawing tool and requires capturing toolbar button and/or mouse pointer events and attaching the code to an ACS tool button and/or right-click menu. IMO it's not worth the time to write and test.

As a really easy alternative, I thought you could save a line tool config. But for the line tool, only the cosmetics (color, linewidth, end markers, extensions, etc) are saved as a configuration. Length (or location anchors), slope, etc are not saved in a line tool configuration. So that's not an option.

If it was me, I would keep a line, sized and sloped as you desire, in an out of the way area of your chart. When needed, just "copy and move". (Select the line -> right-click -> select copy and move menu item). To change colors you can 1) use a saved tool config (which has toolbar buttons), 2) change the drawing properties directly, or 3) have multiple items in the out of the way area to copy.

Hope that helps.