<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hello everybody,</p>
<p>i wonder if something like this is possible, because whatever i try, it just doesn't work :( :</p>
<p><br>
</p>
<p>SetFactory("OpenCASCADE");<br>
</p>
<p>...</p>
<p>Physical Surface("BasePlate", 1) = {1:6};</p>
<p><br>
</p>
<p>Physical Surface("Hole1", 2) = {7};</p>
<p><br>
</p>
<p>Physical Surface("Hole2", 3) = {8};</p>
<p><br>
</p>
<p>Physical Surface(1) += { BooleanDifference{ Surface{ 1:6 }; Delete; }{ Surface{ 7 }; Delete; } };</p>
<p>tmp[ ] = Physical Surface{1};         % I think here is the problem???</p>
<p><br>
</p>
<p>Physical Surface(1) += { BooleanDifference{ Surface{ tmp[ ] }; Delete; }{ Surface{ 8 }; Delete; } };</p>
<p>...<br>
</p>
<p><br>
</p>
<p>Or is there a better/smarter way to store the elementary entities making up a physical group,</p>
<p>so that i can reference to them by using the physical group id ?</p>
<p><br>
</p>
<p>I hope you can unterstand my issue :).</p>
<p>Help is really appreciated!</p>
<p><br>
</p>
<p>Christian B.</p>
<p>Munich University of Applied Sciences<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
</div>
</body>
</html>