extracting last vertex id

extracting last vertex id

Postby zubaexy » Fri Feb 28, 2014 6:21 pm

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.
zubaexy
 
Posts: 1
Joined: Fri Feb 28, 2014 6:08 pm

Re: extracting last vertex id

Postby csimsoft Moderator » Tue Apr 22, 2014 9:31 am

Yes, you can use the following APREPRO command:

${last_vertex=Id("vertex")}
comment last_vertex
csimsoft
csimsoft Moderator
 
Posts: 244
Joined: Tue Feb 14, 2012 5:59 pm
Location: American Fork, UT


Return to Creation and Modification

Who is online

Users browsing this forum: No registered users and 0 guests

cron

Search / Mark

User Control Panel

Login

Who is online

In total there are 0 users online :: 0 registered, 0 hidden and 0 guests (based on users active over the past 5 minutes)
Most users ever online was 58 on Mon Jun 26, 2017 4:19 pm

Users browsing this forum: No registered users and 0 guests