Support Board
Date/Time: Thu, 16 Jan 2025 06:55:42 +0000
Post From: GetACSDrawingByLineNumber not working?
[2017-10-09 20:39:09] |
User436155 - Posts: 16 |
hi there, i am confused with following problem. after creating line (with AddAsUserDrawnDrawing = 1 and AddMethod = UTAM_ADD_OR_ADJUST) i remember line number (which is negative) as a persistnent number. line is working as expected. i can select it and move it freely. then i want to modify it (change color). UserDrawnChartDrawingExists() call returns true. but GetACSDrawingByLineNumber call (with correct line number) returns 0 - as failed. so i can not modify the line in ACS mode. somehow GetUserDrawingByLineNumber call will return 1 and then i can modify color of line. but GetUserDrawingByLineNumber call will lock the line and it can not be selected nor moved as user line again (although i set AddAsUserDrawnDrawing = 1 and AddMethod = UTAM_ADD_OR_ADJUST). maybe my code is not correct. but i do not know the reason why i can not select the line with GetACSDrawingByLineNumber call. can you please help me? thank you in advance ! Jan |