<?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 Orientation of a structural column in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/orientation-of-a-structural-column/m-p/11458131#M16491</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the api to create structural columns and passing a start and end point etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I would like to know however, is if there is a way to change the orientation of a column. At the moment it is going up and down the grid by default in the x and y, but what if I want to define an angle for example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou!&lt;/P&gt;</description>
    <pubDate>Mon, 03 Oct 2022 11:56:51 GMT</pubDate>
    <dc:creator>ssw9UZNL</dc:creator>
    <dc:date>2022-10-03T11:56:51Z</dc:date>
    <item>
      <title>Orientation of a structural column</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/orientation-of-a-structural-column/m-p/11458131#M16491</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the api to create structural columns and passing a start and end point etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I would like to know however, is if there is a way to change the orientation of a column. At the moment it is going up and down the grid by default in the x and y, but what if I want to define an angle for example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 11:56:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/orientation-of-a-structural-column/m-p/11458131#M16491</guid>
      <dc:creator>ssw9UZNL</dc:creator>
      <dc:date>2022-10-03T11:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Orientation of a structural column</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/orientation-of-a-structural-column/m-p/11458651#M16492</link>
      <description>&lt;P&gt;As always, the API will provide similar functionality as the user interface, so you should perform your main research there before looking into the API side of things. Afaik, there are significant differences between vertical and slanted columns:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2009/06/creating-a-slanted-column.html" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2009/06/creating-a-slanted-column.html&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2011/03/slanted-column-cross-section-rotation.html" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2011/03/slanted-column-cross-section-rotation.html&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 15:13:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/orientation-of-a-structural-column/m-p/11458651#M16492</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-10-03T15:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Orientation of a structural column</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/orientation-of-a-structural-column/m-p/11458671#M16493</link>
      <description>&lt;P&gt;Thankyou very much- my only other issue is to update this line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used revit lookup to go into the column and to find the curve of the line, so that is all fine. I can see an origin point and the direction of the column, but I cant quite see if its possible to simply pass in a line with an xyz for start an end. Below I can see I can get the end point but I cant work out how to pass something differnet in?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(assuming the column is i)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i.Location.Curve,GetEndPoint)&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 15:22:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/orientation-of-a-structural-column/m-p/11458671#M16493</guid>
      <dc:creator>ssw9UZNL</dc:creator>
      <dc:date>2022-10-03T15:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Orientation of a structural column</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/orientation-of-a-structural-column/m-p/11458700#M16494</link>
      <description>&lt;P&gt;I believe you can simply use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;  (column.Location as LocationCurve).Curve = new geometry curve with start and end XYZ&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;The LocationCurve Curve property has a getter and a setter:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://www.revitapidocs.com/2017/b03df3be-687a-2ac8-e28d-2e038ecac142.htm" target="_blank"&gt;https://www.revitapidocs.com/2017/b03df3be-687a-2ac8-e28d-2e038ecac142.htm&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 15:38:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/orientation-of-a-structural-column/m-p/11458700#M16494</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-10-03T15:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Orientation of a structural column</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/orientation-of-a-structural-column/m-p/11460495#M16495</link>
      <description>&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 11:37:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/orientation-of-a-structural-column/m-p/11460495#M16495</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2022-10-04T11:37:46Z</dc:date>
    </item>
  </channel>
</rss>

