<?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: Rendering issues while Creating a Room in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/rendering-issues-while-creating-a-room/m-p/6591220#M62809</link>
    <description>&lt;P&gt;Yes, the code works well per my verify/&lt;/P&gt;
&lt;P&gt;I found the API-created room works same with UI-created room: room will be visible and highlighted automatically when mouse hovers over&amp;nbsp;it.&lt;/P&gt;
&lt;P&gt;I don't find problem of API room, please help to clarify or correct.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Sep 2016 05:49:29 GMT</pubDate>
    <dc:creator>JimJia</dc:creator>
    <dc:date>2016-09-29T05:49:29Z</dc:date>
    <item>
      <title>Rendering issues while Creating a Room</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rendering-issues-while-creating-a-room/m-p/6577943#M62807</link>
      <description>&lt;P&gt;I am using this code to create a Room in Revit. It successfully creates the Room but is invisible and is only visible when I take the mouse over it. Once you remove the mouse the Room disappears. Could somebody let me know what is wrong with the code below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Document document = commandData.Application.ActiveUIDocument.Document;&lt;/P&gt;&lt;P&gt;using (Transaction trans = new Transaction(document, "CreateRoom"))&lt;BR /&gt;{&lt;BR /&gt;trans.Start();&lt;BR /&gt;double elevation = 1.0;&lt;BR /&gt;Level level1 = Level.Create(document, elevation);&lt;BR /&gt;UV point2D = new UV(10, 10);&lt;BR /&gt;Room room = document.Create.NewRoom(level1, point2D);&lt;BR /&gt;if (room == null)&lt;BR /&gt;{&lt;BR /&gt;return Result.Failed;&lt;BR /&gt;}&lt;BR /&gt;trans.Commit();&lt;BR /&gt;return Result.Succeeded;&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 13:17:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rendering-issues-while-creating-a-room/m-p/6577943#M62807</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-22T13:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Rendering issues while Creating a Room</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rendering-issues-while-creating-a-room/m-p/6586116#M62808</link>
      <description>&lt;P&gt;The code is OK, IMHO.&lt;/P&gt;&lt;P&gt;Possibly you just need to make visible rooms references in visibility/graphics overrides&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 06:10:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rendering-issues-while-creating-a-room/m-p/6586116#M62808</guid>
      <dc:creator>WhiteSharx</dc:creator>
      <dc:date>2016-09-27T06:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Rendering issues while Creating a Room</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rendering-issues-while-creating-a-room/m-p/6591220#M62809</link>
      <description>&lt;P&gt;Yes, the code works well per my verify/&lt;/P&gt;
&lt;P&gt;I found the API-created room works same with UI-created room: room will be visible and highlighted automatically when mouse hovers over&amp;nbsp;it.&lt;/P&gt;
&lt;P&gt;I don't find problem of API room, please help to clarify or correct.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 05:49:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rendering-issues-while-creating-a-room/m-p/6591220#M62809</guid>
      <dc:creator>JimJia</dc:creator>
      <dc:date>2016-09-29T05:49:29Z</dc:date>
    </item>
  </channel>
</rss>

