<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 25 Apr 2018, at 22:29, Christophe Geuzaine <<a href="mailto:geuzaine@gmail.com" class="">geuzaine@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div>Hi Andrew,<div class=""><br class=""></div><div class="">Not in the current version. This is something we might indeed want to add in the API.</div></div></div></blockquote><div><br class=""></div><div>I've added gmsh::model::getType() which return the string type of an entity ("Circle", etc.) - this could be used to filter the results.</div><div><br class=""></div><div>Christophe</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">Christophe<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 25 Apr 2018, at 17:57, andrew <<a href="mailto:armitatz@gmail.com" class="">armitatz@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-size:small">Hi,</div><div class="gmail_default" style="font-size:small"><br class=""></div><div class="gmail_default" style="font-size:small">I would like to select in a model all the arcs that are in a surface. For example if I use the line</div><div class="gmail_default" style="font-size:small"><br class=""></div><div class="gmail_default" style="font-size:small">lines[]=Line "*";</div><div class="gmail_default" style="font-size:small"><br class=""></div><div class="gmail_default" style="font-size:small">I get all the lines in a model. Is there a similar </div><div class="gmail_default" style="font-size:small"><br class=""></div><div class="gmail_default" style="font-size:small">circles[]=Circle "*"; or arcs[]=Arc "*";</div><div class="gmail_default" style="font-size:small"><br class=""></div><div class="gmail_default" style="font-size:small">command with I will be able to select the circular elements?</div><div class="gmail_default" style="font-size:small"><br class=""></div><div class="gmail_default" style="font-size:small">thank you in advance</div><div class="gmail_default" style="font-size:small"><br class=""></div><div class="gmail_default" style="font-size:small">andrew</div><div class="gmail_default" style="font-size:small"><br class=""></div></div>
_______________________________________________<br class="">gmsh mailing list<br class=""><a href="mailto:gmsh@onelab.info" class="">gmsh@onelab.info</a><br class=""><a href="http://onelab.info/mailman/listinfo/gmsh" class="">http://onelab.info/mailman/listinfo/gmsh</a><br class=""></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></body></html>