Currently there's no direct way of converting from block to id-based selection. vtkConvertSelection does not handle the case where the input is a block-based selection. Feel free to add a feature request to the bug tracker.<br>
<br>A possible alternative would be to apply the ExtractSelection filter and then fetch the resulting dataset to the client. That will have the ids for the extracted block.<br><br>Utkarsh<br><br><div class="gmail_quote">
On Mon, Jun 15, 2009 at 10:53 AM, Rafael March <span dir="ltr"><<a href="mailto:rafaelmarch3@yahoo.com">rafaelmarch3@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
Hi,<br><br>I want to get the global Ids of the nodes selected through
selection inspector, using a "Block Selection" to choose a part of the
model. <br><br>I thought I would be able to retrieve the ids of the
cells (or points) with the method pqSelectionManager::getIndices() or
pqSelectionManager::getGlobalIds(), but none of them retrieve any Ids
when I make the selection of a block.<br><br>Which is the right way to get this information ?<br><br>Regards,<br>Rafael.</td></tr></tbody></table><br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br>