extracting last vertex id

Hello,
I wonder if there’s a way to extract the id of the last vertex in the journal editor.

Suppose I create a rectangle using a set of vertices. Then I want to create a second set of vertices and want to create second rectangle. In this step, I want to the know the ID of the last vertex. Is there a Trelis command to find that out in the journal editor.

I see that ‘List vertex ids’ prints all. I want to know the last value of the vertices. How can I do that in the journal editor.

Thanks in advance.

Yes, you can use the following APREPRO command:

${last_vertex=Id(“vertex”)}
comment last_vertex