<?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: Place unplaced room. in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/place-unplaced-room/m-p/7531620#M79012</link>
    <description>&lt;P&gt;I would use a temporary transaction(group) to make all the "unused" rooms in the plantopology. And let the user choose from those rooms.&lt;/P&gt;
&lt;P&gt;After collecting all the information rollback the transaction(group) and make your new definitive room(s).&lt;/P&gt;</description>
    <pubDate>Thu, 09 Nov 2017 18:31:56 GMT</pubDate>
    <dc:creator>FAIR59</dc:creator>
    <dc:date>2017-11-09T18:31:56Z</dc:date>
    <item>
      <title>Place unplaced room.</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/place-unplaced-room/m-p/4353454#M79007</link>
      <description>&lt;P&gt;I have created a number of unplaced rooms in my model. I want to be able to place them in specific locations. From the Revit interface, I can choose an existing scheduled (unplaced) room from the pull down and place it, but that list is cumbersome.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been trying to find a way to select an enclosed area. Using 'PlanTopology.Circuts' is as close as I can get, but I can't do anything useful with that. Odd that you can get the area of each circuit, but not the location or boundary.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to duplicate the room creation/selection process? I want to be able to filter the available unplaced room list by level, square footage, department, something to simplify placement of unplaced rooms. Thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Aug 2013 17:49:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/place-unplaced-room/m-p/4353454#M79007</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-04T17:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Place unplaced room.</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/place-unplaced-room/m-p/4353492#M79008</link>
      <description>&lt;P&gt;I came across the post below. Is this still the bast way to acomplish this? The code&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;if( Geometry.BoundingBoxXYZContains(
      roomNueva.get_BoundingBox( null ), 
      xyz ) )&lt;/PRE&gt;&lt;P&gt;is out of date. What has replaced 'Geometry.BoundingBoxXYZContains'. &amp;nbsp;Would I use&amp;nbsp;BoundingBoxContainsPointFilter and a&amp;nbsp;FilteredElementCollector? Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2009/03/create-room-on-level-in-phase.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2009/03/create-room-on-level-in-phase.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Aug 2013 20:55:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/place-unplaced-room/m-p/4353492#M79008</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-04T20:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Place unplaced room.</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/place-unplaced-room/m-p/4363441#M79009</link>
      <description>&lt;P&gt;Dear Bryan,&lt;BR /&gt;&lt;BR /&gt;Thank you for your query.&lt;BR /&gt;&lt;BR /&gt;I explained the situation regarding 'Geometry.BoundingBoxXYZContains' in my answer to your previous case 08656833 [Check to see if a point is inside bounding box], generated from the forum thread&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.autodesk.com/t5/Autodesk-Revit-API/Check-to-see-if-a-point-is-inside-bounding-box/m-p/4354446#M4343." target="_blank"&gt;http://forums.autodesk.com/t5/Autodesk-Revit-API/Check-to-see-if-a-point-is-inside-bounding-box/m-p/4354446#M4343.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;From what I can tell, your best bet is to use the Document.NewRoom method taking a Level and an UV argument and use that to create placed rooms in the desired locations.&lt;BR /&gt;&lt;BR /&gt;I hope this helps.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2013 17:40:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/place-unplaced-room/m-p/4363441#M79009</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2013-08-12T17:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Place unplaced room.</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/place-unplaced-room/m-p/7528944#M79010</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a new project that demands placing unplaced rooms using a method more sophisticated then the revit built-in one.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are going to make a UI where the user can search for unplaced rooms and then place them.&lt;BR /&gt;From the looks of the API this seems like it requires relatively complex code for such a seemingly simple task.&lt;BR /&gt;&lt;BR /&gt;For you guys out there needing to do this Im thinking of doing it in one of the two ways:&amp;nbsp;&lt;BR /&gt;the first way:&lt;/P&gt;
&lt;P&gt;Get the point of the room from the user by using pickpoint.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then find the first plancircuit on the level and phase in question that does not already have a room placed in it and place the room there using the CreateNewRoom(Room,PlanCircuit)&lt;BR /&gt;Then move the room to the correct location.&amp;nbsp;&lt;BR /&gt;You need to make sure that you find a plan circuit that does not have a room already placed, because if you dont the user will recieve a warning from Revit about multiple rooms in the same plan circuit. This warning can obviously be captured and silenced, but its just less code this way.&amp;nbsp;&lt;BR /&gt;There is a drawback with not handling the warning and that is if there are no "free" plancircuits.&lt;/P&gt;
&lt;P&gt;Then you wont find any and you will have to find a plancircuit to place it and the user will see a warning about dubplicate rooms with the possibility of it beeing in the wrong place when the warning is shown.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Second way: post the create new room command and capture the event of the created room in a IUpdater and copy the parameter values from the correct room.&amp;nbsp;&lt;BR /&gt;The problem with this approach is that we cannot abort the place room command (that I know of, can we?). But it has the added benefit of the "normal" user experience when placing rooms.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If we could just get an API-addition to check if a point is inside&amp;nbsp; a planregion or something to distinguish where to place our room!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both ways have their dissadvantages. Does anyone have any input on how I could improve my room placement?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 23:01:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/place-unplaced-room/m-p/7528944#M79010</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-08T23:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Place unplaced room.</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/place-unplaced-room/m-p/7529562#M79011</link>
      <description>&lt;P&gt;Dear Erik,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your interesting query.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any way to query the plan circuit for its boundaries and make use of a simple point containment algorithm on those?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2012/08/room-in-area-predicate-via-point-in-polygon-test.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2012/08/room-in-area-predicate-via-point-in-polygon-test.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 06:43:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/place-unplaced-room/m-p/7529562#M79011</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2017-11-09T06:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Place unplaced room.</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/place-unplaced-room/m-p/7531620#M79012</link>
      <description>&lt;P&gt;I would use a temporary transaction(group) to make all the "unused" rooms in the plantopology. And let the user choose from those rooms.&lt;/P&gt;
&lt;P&gt;After collecting all the information rollback the transaction(group) and make your new definitive room(s).&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 18:31:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/place-unplaced-room/m-p/7531620#M79012</guid>
      <dc:creator>FAIR59</dc:creator>
      <dc:date>2017-11-09T18:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Place unplaced room.</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/place-unplaced-room/m-p/7531880#M79013</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think I have a very good solution when Im posting the create new room command. However I only want to place one room I want the command to cancel after the first placement.&amp;nbsp;&lt;BR /&gt;Is there a way to accomplish this?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 19:56:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/place-unplaced-room/m-p/7531880#M79013</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-09T19:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Place unplaced room.</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/place-unplaced-room/m-p/12620913#M79014</link>
      <description>&lt;P&gt;I'm running some commands that create rooms on batch without opening the revit documents on the UI.&lt;BR /&gt;I've found that the rooms don't get created on the Existing phase that is where I need them when I run them that way.&lt;BR /&gt;As you cannot change the phase of an already created Room, I was thinking of using NewRoom (Phase) but it creates an unplaced room.&amp;nbsp;&amp;nbsp;&lt;A href="https://www.revitapidocs.com/2017/0bf2d8e2-593f-1ba7-c0dc-5274749abe19.htm" target="_blank"&gt;https://www.revitapidocs.com/2017/0bf2d8e2-593f-1ba7-c0dc-5274749abe19.htm&lt;/A&gt;&lt;BR /&gt;How could I set the Room.Location of those unplaced rooms? That attribute is null at the moment due to being unplaced.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 16:52:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/place-unplaced-room/m-p/12620913#M79014</guid>
      <dc:creator>JulioPolo</dc:creator>
      <dc:date>2024-03-06T16:52:46Z</dc:date>
    </item>
  </channel>
</rss>

