Hello,
I enjoy using CorelDraw a lot more than Illustrator, but what I really miss is how to choose nodes by the shape tool.Without having to choose before with the select tool.Is there any way to take the mouse and choose just directly for example the left half of of the nodes of an object? Probably not.
Another option for me would be to choose a macro by 1 click, when I have chosen before an object with the select tool, and this macro does:
- choose the shape tool- select all nodes of the before selected object
In this way I could at least just select an object and in the second step directly all nodes. When you choose a lot of objects and nodes, the CorelDraw usability is here not the best.
Any ideas?
Thank you for the lines of code, I guess this will help a lot, will try some macros.
Yes, you can of course do anything also in CorelDraw, but it's just better to drag the mouse to chose either some shapes or even better choose some nodes directly, even from different shapes.
Going from one program to another will always make you find that you cannot work exactly like you used to do, but after a while you will probably find the new way has some useful benefits too.I personally get crazy trying to select objects and nodes in Illustrator just because of these details that you find so useful.In addition to what the other other guys said here, do you know you can press Alt while "marquee selecting" nodes in Draw?Not what you asked about here and now but rather useful to know. :-)
Yes, thank you - all my thoughts are not directly about that the shape tool is bad or the philosophy of selecting nodes by this tool. I just don't understand that the select tool and the shape tool are so much connected in CorelDraw as this is mostly just one or some clicks more, and you get sometimes the impression that you want to click somewhere or choose something but then you remember: oh yeah, sure, always first the select tool!
I already startet to make a macro (without knowledge), but at the end I would like to have selected all nodes, how can I add a line for that?
I also made a shortcut on the keyboard for selecting all nodes, perhaps I can add the shortcut to the macro?
Sub chooseallnodes() ActivePage.SelectableShapes.All.CreateSelection ActivePage.Shapes.All.CreateSelection Application.ActiveTool = cdrToolNodeEdit Dim OrigSelection As ShapeRange Set OrigSelection = ActiveSelectionRangeEnd Sub
Or even better would be: 1 macro for choosing all nodes on the page, and 1 macro choosing all nodes from the shapes that are selected before.
Could make as one click do either
Sub ChooseAllNodes() Dim sr As ShapeRange, s As Shape Optimization = True ActivePage.Shapes.All.AddToSelection Application.ActiveTool = cdrToolNodeEdit Set sr = ActiveSelectionRange For Each s In sr s.Curve.Nodes.All.AddToSelection Optimization = False Application.Refresh Next sEnd Sub
Sub ChooseNodesFormSlected()Dim sr As ShapeRange, s As Shape Optimization = True Application.ActiveTool = cdrToolNodeEdit Set sr = ActiveSelectionRange For Each s In sr s.Curve.Nodes.All.AddToSelection Optimization = False Application.Refresh Next sEnd Sub
I don't like using SendKeys but....Now it won't matter if you have none selected or one/several
Sub chooseallnodes() Dim sr As ShapeRange, s As Shape Optimization = True Set sr = ActiveSelectionRange If sr.Count = 0 Then ActivePage.Shapes.All.AddToSelection Application.ActiveTool = cdrToolNodeEdit Set sr = ActiveSelectionRange For Each s In sr s.Curve.Nodes.All.AddToSelection Next s SendKeys "^(a)" 'keystroke shortcut for select all sr.CreateSelection End If Set sr = ActiveSelectionRange For Each s In sr Application.ActiveTool = cdrToolNodeEdit s.Curve.Nodes.All.AddToSelection Next s SendKeys "^(a)" 'keystroke shortcut for select all sr.CreateSelection Optimization = False Application.Refresh End Sub