Is there a command/option in order to select objects from inside the code?
For example, assuming I have created 4 points (pt0, pt1, pt2, pt3) and 4 lines (line1, line2, lin3, line4), when I run the plugin I would like to get automatically selected line1, and then ask the user to do something.
Actually I don’t want the user to be able to select it. I would like it to be pre-selected by the plugin. That is, when I run the plugin, the points and the lines to be created, and a specific line to be already selected.
There are a number of “Find” functions on the document’s ObjectTable. Some of them will work for you, depending on how you choose to look up these objects.