Pick First Selection in the Drawing (Tekla Open API)

Imagine you are in the Tekla Drawing space.

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:


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *