<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to select multiple regions / filter in BricSYS ObjectARX ? in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-select-multiple-regions-filter-in-bricsys-objectarx/m-p/5746594#M11013</link>
    <description>&lt;P&gt;i still can't understand what is your aim ))), but if you want to use HATCH command, write _-HATCH or _.-HATCH in command line and press Enter. and you'll see all of the available options&lt;BR /&gt;PS: using acedCommand is not the best idea ))). better to use ObjectARX. &lt;SPAN&gt;through&amp;nbsp;&lt;/SPAN&gt;ObjectARX you can't create a boundary, but can easily create a hatch object.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jul 2015 12:37:09 GMT</pubDate>
    <dc:creator>nick83</dc:creator>
    <dc:date>2015-07-29T12:37:09Z</dc:date>
    <item>
      <title>How to select multiple regions / filter in BricSYS ObjectARX ?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-select-multiple-regions-filter-in-bricsys-objectarx/m-p/5726600#M11007</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have multiple regions to select, with region command i can select the entities, But its very annoying to select each entinties one by one.&lt;/P&gt;&lt;P&gt;I want select whole drawing with window drag option but internally i want to filter the regions by groups so that i can read the region by region and entity by entity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any API's to read the entities to read region selected by "BOUNDARY" command.&lt;/P&gt;&lt;P&gt;ads_point pt;&lt;BR /&gt;ads_name ss;&lt;BR /&gt;Acad::ErrorStatus es;&lt;BR /&gt;if( acedGetPoint(NULL, _T("Pick a point inside a closed area:"), pt) != RTNORM ) return;&lt;BR /&gt;acedCommand(RTSTR, _T("-BOUNDARY"), RTSTR, _T("AD"), RTSTR,_T("IS"), RTSTR,_T("Y"),RTSTR,_T("OB"),RTSTR,_T("PO"),RTSTR,_T(""), RTPOINT, pt, RTSTR, _T(""), RTNONE);&lt;BR /&gt;acdbEntLast(ss); // here is your boundary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the above code but it gives one region as one AcDbPloyLine object. i m unable to read the entites.&lt;/P&gt;&lt;P&gt;So is there any solution&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anithraj T&lt;/P&gt;&lt;P&gt;email id &amp;nbsp;: anith.raj@thedesignsense.com&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2015 06:38:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-select-multiple-regions-filter-in-bricsys-objectarx/m-p/5726600#M11007</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-20T06:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to select multiple regions / filter in BricSYS ObjectARX ?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-select-multiple-regions-filter-in-bricsys-objectarx/m-p/5726982#M11008</link>
      <description>&lt;P&gt;Hi Anithraj,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looks like you chose a wrong forum.&amp;nbsp;&lt;SPAN style="line-height: 15px;"&gt;For ObjectARX question, the correct one is this:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.autodesk.com/t5/objectarx/bd-p/34" target="_blank"&gt;http://forums.autodesk.com/t5/objectarx/bd-p/34&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm going to move this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2015 12:56:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-select-multiple-regions-filter-in-bricsys-objectarx/m-p/5726982#M11008</guid>
      <dc:creator>mikako_harada</dc:creator>
      <dc:date>2015-07-20T12:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to select multiple regions / filter in BricSYS ObjectARX ?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-select-multiple-regions-filter-in-bricsys-objectarx/m-p/5733022#M11009</link>
      <description>&lt;P&gt;acdbEntLast cant help you in this case, because you may get more than one contour (polyline) or get nothing at all, if command fails&lt;/P&gt;&lt;P&gt;so, try this code&lt;/P&gt;&lt;PRE&gt;AcDbObjectIdArray ids; ids.removeAll();
ads_name last_ent;
acdbEntLast(last_ent);

ads_point pt;
if( acedGetPoint(NULL, _T("Pick a point inside a closed area:"), pt) != RTNORM ) return;
acedCommand(RTSTR, _T("-BOUNDARY"), RTSTR, _T("AD"), RTSTR,_T("IS"), RTSTR,_T("Y"),RTSTR,_T("OB"),RTSTR,_T("PO"),RTSTR,_T(""), RTPOINT, pt, RTSTR, _T(""), RTNONE);

while(true)
{
	if(acdbEntNext(last_ent,last_ent) != RTNORM) break;
	AcDbObjectId eId;
	if(acdbGetObjectId(eId, last_ent) == Acad::eOk)
	{
		ids.append(eId);
	}
}

// here you have all of the bounds (ids)&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Jul 2015 06:23:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-select-multiple-regions-filter-in-bricsys-objectarx/m-p/5733022#M11009</guid>
      <dc:creator>nick83</dc:creator>
      <dc:date>2015-07-22T06:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to select multiple regions / filter in BricSYS ObjectARX ?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-select-multiple-regions-filter-in-bricsys-objectarx/m-p/5741451#M11010</link>
      <description>&lt;P&gt;But above the code gives you Objectid (eId) as polyline, but i wanted to get the object id of each individual entities means line by line , arc by arc.&lt;/P&gt;&lt;P&gt;For ex: i have closed area of consists of 4 lines,&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to us i should get the 4 objectId but if use your code i get only one objectId as polyLine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;BR /&gt;Anithraj T&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2015 09:14:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-select-multiple-regions-filter-in-bricsys-objectarx/m-p/5741451#M11010</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-27T09:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to select multiple regions / filter in BricSYS ObjectARX ?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-select-multiple-regions-filter-in-bricsys-objectarx/m-p/5744258#M11011</link>
      <description>&lt;P&gt;&lt;SPAN&gt;sorry, but it's unpossible at all. if you have 2 polylines, 4 lines, 2 ellipses and, for example, 3 arcs - you 'll get just a set (or just one) of polylines that form closed contour(s). that's how BOUNDARY command works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sure, you can break all of them to lines and arcs later, but if you want an exact parts of base entities (line, polyline, arc, ellipse arc) you have to do it by your own code. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;so, 2 easy variants:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. 1-N closed polylines (or one region)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. a set of lines, arcs,... that can be created by exploding var1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;picture shows what im talking about.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/180602iE4961F2C25A069FB/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="boundary.jpg" title="boundary.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2015 06:25:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-select-multiple-regions-filter-in-bricsys-objectarx/m-p/5744258#M11011</guid>
      <dc:creator>nick83</dc:creator>
      <dc:date>2015-07-28T06:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to select multiple regions / filter in BricSYS ObjectARX ?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-select-multiple-regions-filter-in-bricsys-objectarx/m-p/5746517#M11012</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I want use hatch, through acedcommand line argument,So please let me know how to use parameters in acedcommand so that m able to use the set options that comes under the HATCH dialog box.&lt;BR /&gt;and what paramter where to pass.how it works.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The problem is i have construction planning i want to select each boundary along with the external boundary.&lt;BR /&gt;&lt;BR /&gt;When we are selecting boundaries we use option in Islands "Nest, Outer, Ignore" .&lt;BR /&gt;in wanted make use options in parameters , command line arguments.&lt;BR /&gt;how do is use it.&lt;BR /&gt;&lt;BR /&gt;Here is the HATCH code.&lt;BR /&gt;if( acedGetPoint(NULL, _T("Pick a point inside a closed area:"), pt) != RTNORM ) return;&lt;BR /&gt;//acedCommand(RTSTR, _T("HATCH"), RTSTR, _T("AD"), RTSTR,_T("IS"), RTSTR,_T("Y"),RTSTR,_T("OB"),RTSTR,_T("PO"),RTSTR,_T("SO"), RTPOINT, pt, RTSTR, _T(""), RTNONE);&lt;BR /&gt;acedCommand(RTSTR, _T("HATCH"), RTSTR, _T("AD"), RTSTR,_T("IS"), RTSTR,_T("Y"),RTSTR,_T(""), RTPOINT, pt, RTSTR, _T(""), RTNONE);&lt;BR /&gt;// acedCommand(RTSTR, _T("HATCH"), RTNONE);&lt;BR /&gt;acdbEntLast(ss) // here is your boundary.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please suggest me&lt;BR /&gt;Thanks&lt;BR /&gt;Anithraj T&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Jul 2015 11:48:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-select-multiple-regions-filter-in-bricsys-objectarx/m-p/5746517#M11012</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-29T11:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to select multiple regions / filter in BricSYS ObjectARX ?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-select-multiple-regions-filter-in-bricsys-objectarx/m-p/5746594#M11013</link>
      <description>&lt;P&gt;i still can't understand what is your aim ))), but if you want to use HATCH command, write _-HATCH or _.-HATCH in command line and press Enter. and you'll see all of the available options&lt;BR /&gt;PS: using acedCommand is not the best idea ))). better to use ObjectARX. &lt;SPAN&gt;through&amp;nbsp;&lt;/SPAN&gt;ObjectARX you can't create a boundary, but can easily create a hatch object.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2015 12:37:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-select-multiple-regions-filter-in-bricsys-objectarx/m-p/5746594#M11013</guid>
      <dc:creator>nick83</dc:creator>
      <dc:date>2015-07-29T12:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to select multiple regions / filter in BricSYS ObjectARX ?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-select-multiple-regions-filter-in-bricsys-objectarx/m-p/5746659#M11014</link>
      <description>Hello Nick,&lt;BR /&gt;Aim: calculation of form work&lt;BR /&gt;&lt;BR /&gt;Please find the attached file below.&lt;BR /&gt;&lt;BR /&gt;I have construction planning, it contains the hall, kitchen, etc .&lt;BR /&gt;The rooms contain door and windows right. Those doors and windows are custom entity.&lt;BR /&gt;With door or window covers one closed loop .&lt;BR /&gt;Now I want read line by line including my custom entity. So that when m reading each entity by entity I can get the length of line * wall height gives me the area of that wall like that I cover the closed loop.&lt;BR /&gt;and I know the room has how many doors so that I can subtract the area covers by door.&lt;BR /&gt;So get the closed loop I tried region , boundary and hatch.&lt;BR /&gt;Region is not good , in the perspective of user , I have to select by "window". Or line by line. Not good idea to use.&lt;BR /&gt;Boundary will give polyline object. even I explode it (Explode() ). I can't differentiate between line and my custom entity. (No identity).&lt;BR /&gt;&lt;BR /&gt;Hatch : Hatch I can get closed loop.&lt;BR /&gt;&lt;BR /&gt;Then I say that my own command compute area&lt;BR /&gt;Internally I filter out the HATCH by acedSSget() function&lt;BR /&gt;So that I will get filtered hatches, I can go one by one hatch and calculate the area.&lt;BR /&gt;And outer area too.&lt;BR /&gt;&lt;BR /&gt;What happened is&lt;BR /&gt;When you do hatch, we use "nested" or "outer" radio buttons in the HATACH dialog box.&lt;BR /&gt;&lt;BR /&gt;I want to now the what are the parameters we pass in acedcommand. I need clear clarification of each parameter.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Anithraj T</description>
      <pubDate>Wed, 29 Jul 2015 13:08:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-select-multiple-regions-filter-in-bricsys-objectarx/m-p/5746659#M11014</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-29T13:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to select multiple regions / filter in BricSYS ObjectARX ?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-select-multiple-regions-filter-in-bricsys-objectarx/m-p/5746661#M11015</link>
      <description>&lt;P&gt;Hello Nick,&lt;BR /&gt;Aim: calculation of form work&lt;/P&gt;&lt;P&gt;I have construction planning, it contains the hall, kitchen, etc .&lt;BR /&gt;The rooms contain door and windows right. Those doors and windows are custom entity.&lt;BR /&gt;With door or window covers one closed loop .&lt;BR /&gt;Now I want read line by line including my custom entity. So that when m reading each entity by entity I can get the length of line * wall height gives me the area of that wall like that I cover the closed loop.&lt;BR /&gt;and I know the room has how many doors so that I can subtract the area covers by door.&lt;BR /&gt;&lt;BR /&gt;So get the closed loop I tried region , boundary and hatch.&lt;BR /&gt;Region is not good , in the perspective of user , I have to select by “window”. Or line by line. Not good idea to use.&lt;BR /&gt;Boundary will give polyline object. even I explode it (Explode() ). I can’t differentiate between line and my custom entity. (No identity).&lt;/P&gt;&lt;P&gt;Hatch : Hatch I can get closed loop.&lt;/P&gt;&lt;P&gt;Then I say that my own command compute area&lt;BR /&gt;Internally I filter out the HATCH by acedSSget() function&lt;BR /&gt;So that I will get filtered hatches, I can go one by one hatch and calculate the area.&lt;BR /&gt;And outer area too.&lt;/P&gt;&lt;P&gt;What happened is&lt;BR /&gt;When you do hatch, we use “nested” or “outer” radio buttons in the HATACH dialog box.&lt;/P&gt;&lt;P&gt;I want to now the what are the parameters we pass in acedcommand. I need clear clarification of each parameter.&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Anithraj T&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2015 13:09:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-select-multiple-regions-filter-in-bricsys-objectarx/m-p/5746661#M11015</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-29T13:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to select multiple regions / filter in BricSYS ObjectARX ?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-select-multiple-regions-filter-in-bricsys-objectarx/m-p/5749322#M11016</link>
      <description>&lt;P&gt;so, first of all, you need to manually create a hatch with needed parameters through _-HATCH or _.-HATCH command in autocad, and keep in mind the sequence you used to create it. then use this sequence in acedcommand. that's all )&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2015 06:38:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-select-multiple-regions-filter-in-bricsys-objectarx/m-p/5749322#M11016</guid>
      <dc:creator>nick83</dc:creator>
      <dc:date>2015-07-30T06:38:25Z</dc:date>
    </item>
  </channel>
</rss>

