<?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: Is there a way to create a sloped buildingpad programmatically? in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/is-there-a-way-to-create-a-sloped-buildingpad-programmatically/m-p/6784959#M61315</link>
    <description>&lt;P&gt;As there is no direct way to create a sloped buildingpad, you could go the indirect route by copying a buildingpad from an existing document.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The drawback is that you have to know the shape of the buildingpad&amp;nbsp; in advance, as you cant change it using the API. (setBoundery will remove the slopearrow!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;workflow:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;preparation:&lt;/P&gt;&lt;P&gt;create helperDocument&amp;nbsp;manualy (containing 1 toposurface and 1 sloped buildingpad)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;programming:&lt;/P&gt;&lt;P&gt;load helperDocument&lt;/P&gt;&lt;P&gt;find modellines of the boundery&amp;nbsp;&amp;nbsp;and the slope arrow using the delete and rollback trick.&amp;nbsp; &amp;nbsp;(&amp;nbsp;&amp;nbsp;&amp;nbsp;List&amp;lt;ElementId&amp;gt; _Ids = doc.Delete(buildingpad.Id)&amp;nbsp; )&lt;/P&gt;&lt;P&gt;the slope arrow is the modelline with name "Slope Arrow".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;reposition the&amp;nbsp;modellines to new positions.&lt;/P&gt;&lt;P&gt;reposition the slope arrow&amp;nbsp; to new position.&lt;/P&gt;&lt;P&gt;set slope arrow heights (BuiltInParameter.SLOPE_START_HEIGHT &amp;amp; BuiltInParameter.SLOPE_END_HEIGHT)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;copy to Target document&lt;/P&gt;&lt;P&gt;ElementTransformUtils.CopyElements(helperDocument,&amp;nbsp;new List(&amp;nbsp;buildingpad.Id)&amp;nbsp;, target, Transform.Identity, opt);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jan 2017 14:48:10 GMT</pubDate>
    <dc:creator>FAIR59</dc:creator>
    <dc:date>2017-01-05T14:48:10Z</dc:date>
    <item>
      <title>Is there a way to create a sloped buildingpad programmatically?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-there-a-way-to-create-a-sloped-buildingpad-programmatically/m-p/6761442#M61312</link>
      <description>&lt;P&gt;Hello everyone, I'm trying to create a sloped building pad but unfortunatelly I couldn't find a way to pass the line arrow like the we can do on floors. And I couldn't find a way to edit the pad so I could inject slope information as well. Is there a way to do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Thiago Almeida.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 19:21:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-there-a-way-to-create-a-sloped-buildingpad-programmatically/m-p/6761442#M61312</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-20T19:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to create a sloped buildingpad programmatically?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-there-a-way-to-create-a-sloped-buildingpad-programmatically/m-p/6778012#M61313</link>
      <description>&lt;P&gt;Dear Thiago,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Happy New Year to you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I cannot answer your question offhand, so I passed it on to the development team.&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>Mon, 02 Jan 2017 09:57:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-there-a-way-to-create-a-sloped-buildingpad-programmatically/m-p/6778012#M61313</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2017-01-02T09:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to create a sloped buildingpad programmatically?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-there-a-way-to-create-a-sloped-buildingpad-programmatically/m-p/6782744#M61314</link>
      <description>&lt;P&gt;Dear Thiago,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I heard back from&amp;nbsp;the development team. They say:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;As the owner of Site, I don’t think we provide the API functions for sloped building pad yet, including creation and edit. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;So, right now, I am not sure there is a way to do that…&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Sorry for the bad news.&lt;/SPAN&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>Wed, 04 Jan 2017 17:53:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-there-a-way-to-create-a-sloped-buildingpad-programmatically/m-p/6782744#M61314</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2017-01-04T17:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to create a sloped buildingpad programmatically?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-there-a-way-to-create-a-sloped-buildingpad-programmatically/m-p/6784959#M61315</link>
      <description>&lt;P&gt;As there is no direct way to create a sloped buildingpad, you could go the indirect route by copying a buildingpad from an existing document.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The drawback is that you have to know the shape of the buildingpad&amp;nbsp; in advance, as you cant change it using the API. (setBoundery will remove the slopearrow!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;workflow:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;preparation:&lt;/P&gt;&lt;P&gt;create helperDocument&amp;nbsp;manualy (containing 1 toposurface and 1 sloped buildingpad)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;programming:&lt;/P&gt;&lt;P&gt;load helperDocument&lt;/P&gt;&lt;P&gt;find modellines of the boundery&amp;nbsp;&amp;nbsp;and the slope arrow using the delete and rollback trick.&amp;nbsp; &amp;nbsp;(&amp;nbsp;&amp;nbsp;&amp;nbsp;List&amp;lt;ElementId&amp;gt; _Ids = doc.Delete(buildingpad.Id)&amp;nbsp; )&lt;/P&gt;&lt;P&gt;the slope arrow is the modelline with name "Slope Arrow".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;reposition the&amp;nbsp;modellines to new positions.&lt;/P&gt;&lt;P&gt;reposition the slope arrow&amp;nbsp; to new position.&lt;/P&gt;&lt;P&gt;set slope arrow heights (BuiltInParameter.SLOPE_START_HEIGHT &amp;amp; BuiltInParameter.SLOPE_END_HEIGHT)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;copy to Target document&lt;/P&gt;&lt;P&gt;ElementTransformUtils.CopyElements(helperDocument,&amp;nbsp;new List(&amp;nbsp;buildingpad.Id)&amp;nbsp;, target, Transform.Identity, opt);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 14:48:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-there-a-way-to-create-a-sloped-buildingpad-programmatically/m-p/6784959#M61315</guid>
      <dc:creator>FAIR59</dc:creator>
      <dc:date>2017-01-05T14:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to create a sloped buildingpad programmatically?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-there-a-way-to-create-a-sloped-buildingpad-programmatically/m-p/6843959#M61316</link>
      <description>&lt;P&gt;Hi Jeremy , happy new year to you&lt;BR /&gt;I thought I was missing a method or a Util class. It is unfortunate that we don't have it at all , but let's hope it gets implemented in the future.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your efforts,&lt;BR /&gt;Cheers,&lt;BR /&gt;Thiago Almeida.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 17:56:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-there-a-way-to-create-a-sloped-buildingpad-programmatically/m-p/6843959#M61316</guid>
      <dc:creator>t.almeidaeng</dc:creator>
      <dc:date>2017-01-31T17:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to create a sloped buildingpad programmatically?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-there-a-way-to-create-a-sloped-buildingpad-programmatically/m-p/6843981#M61317</link>
      <description>&lt;P&gt;Hi Jeremy , happy new year to you&lt;BR /&gt;I thought I was missing a method or a Util class. It is unfortunate that we don't have it at all , but let's hope it gets implemented in the future.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your efforts,&lt;BR /&gt;Cheers,&lt;BR /&gt;Thiago Almeida.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 18:03:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-there-a-way-to-create-a-sloped-buildingpad-programmatically/m-p/6843981#M61317</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-31T18:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to create a sloped buildingpad programmatically?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-there-a-way-to-create-a-sloped-buildingpad-programmatically/m-p/6843989#M61318</link>
      <description>&lt;P&gt;Hi FAIR59, Thank you for the hint, but unfortunately I am trying to create Building pad based on different scenarios and shape. I appreciate you help anyways.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 18:06:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-there-a-way-to-create-a-sloped-buildingpad-programmatically/m-p/6843989#M61318</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-31T18:06:07Z</dc:date>
    </item>
  </channel>
</rss>

