Imagine you are in the Tekla Drawing space.
We want to dimension certain objects in the drawing.
First we need to identify the objects that we want to select. Since the Tekla
Closed Open API doesn’t have much of a picker exposed, we would be forced to select the objects we need before running our command. We can do so with a pick first selection (to use the AutoCAD terminology).
The code is quite simple, but is very important: