<div dir="ltr"><div><div><div><div>Chiranjib,<br><br></div>Well as you can see in <span style="font-family:monospace,monospace">vtkSMSessionProxyManager::GetUniqueProxyName()</span>, there is a suffix loop (master / line 600) from 1 to VTK_INT_MAX that <br></div>is incremented until no other proxy as the same name.<br></div>As you can see, if you create a Cone, it is named Cone1. Rename it manually to Cone2, then create a new Cone, this new cone get the name Cone1 because this name is no more used.<br><br></div>Regards,<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b>Joachim Pouderoux</b><font size="2">, <font size="1">PhD</font></font><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="1"><i>Technical Expert - Scientific Computing Team</i></font><br><b><font size="1"><a href="http://www.kitware.fr" target="_blank">Kitware SAS</a></font></b><br></blockquote>
</div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2017-10-03 14:38 GMT-04:00 Chiranjib Sur <span dir="ltr"><<a href="mailto:sur.chiranjib@gmail.com" target="_blank">sur.chiranjib@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Thanks. How about the number sequencing? I figure out the proxy part when you scan through the pipe line. But when creating source how the numbers appeared?<br><br><div data-smartmail="gmail_signature">Thanks and regards,<br>Chiranjib<br><br>Using handheld device, sorry for the typos, if any.<br> </div><div><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Oct 4, 2017 12:06 AM, "Joachim Pouderoux" <<a href="mailto:joachim.pouderoux@kitware.com" target="_blank">joachim.pouderoux@kitware.com</a><wbr>> wrote:<br type="attribution"><blockquote class="m_4090135476454667938quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Chiranjib,<br><br></div>Take a look at <span style="font-family:monospace,monospace">vtkSMSessionProxyManager::GetU<wbr>niqueProxyName()</span>.<br>This is the function called in <span style="font-family:monospace,monospace">vtkSMSessionProxyManager::Regi<wbr>sterProxy() </span>that setup the default proxy names.<br><br></div>Regards,<br></div><div class="gmail_extra"><br clear="all"><div><div class="m_4090135476454667938m_4946917512394557774gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b>Joachim Pouderoux</b><font size="2">, <font size="1">PhD</font></font><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="1"><i>Technical Expert - Scientific Computing Team</i></font><br><b><font size="1"><a href="http://www.kitware.fr" target="_blank">Kitware SAS</a></font></b><br></blockquote>
</div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote"><div class="m_4090135476454667938elided-text">2017-10-03 14:16 GMT-04:00 Chiranjib Sur <span dir="ltr"><<a href="mailto:sur.chiranjib@gmail.com" target="_blank">sur.chiranjib@gmail.com</a>></span>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_4090135476454667938elided-text"><div dir="ltr">Hi,<div>Can any one explain how the numbering sequencing happen when we create objects (e.g. Source > Cone) and the objects appears as "Cone1", "Cone2" etc.?</div><div><br></div><div>I am interested which part of the code is responsible for numerical increment 1,2 etc following the Object name.</div><div><br></div><div>Thanks in advance.</div><span class="m_4090135476454667938m_4946917512394557774HOEnZb"><font color="#888888"><div><br></div><div>Chiranjib</div></font></span></div>
<br></div>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview-develope<wbr>rs</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div></div></div></div>
</blockquote></div><br></div>