<?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 Section view object in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/section-view-object/m-p/8218945#M48108</link>
    <description>&lt;P&gt;Hello!&lt;BR /&gt;Could you help me please? I started to learn Revit API and I'm developing a plugin using Revit API and C#.&lt;BR /&gt;I have a view section of any object. For example its pipe. How can I get some information about section via API? Some parameters, coordinates of section?&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 23 Aug 2018 10:10:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-23T10:10:43Z</dc:date>
    <item>
      <title>Section view object</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/section-view-object/m-p/8218945#M48108</link>
      <description>&lt;P&gt;Hello!&lt;BR /&gt;Could you help me please? I started to learn Revit API and I'm developing a plugin using Revit API and C#.&lt;BR /&gt;I have a view section of any object. For example its pipe. How can I get some information about section via API? Some parameters, coordinates of section?&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 10:10:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/section-view-object/m-p/8218945#M48108</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-23T10:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Section view object</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/section-view-object/m-p/8219042#M48109</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;String s="";&lt;BR /&gt;FilteredElementCollector COLLECTOR = new FilteredElementCollector(doc).OfClass(typeof(ViewSection));
ICollection&amp;lt;Element&amp;gt; ViewsectionS = COLLECTOR.ToElements() as ICollection&amp;lt;Element&amp;gt;;                
if(ViewsectionS.Count()!=null)
  {
        foreach (ViewSection vs in viewsectionS)
              {
                        if(vs.Name=="Your section name")
                        {
                            foreach(Parameter p in vs.Parameters)
                            {
                                s = s + "\n" + p.Definition.Name + "_____" + p.AsValueString();
                            }&lt;BR /&gt;                        }
              }
                        
   }
                    TaskDialog.Show("Section Parameters", s);&lt;/PRE&gt;
&lt;P&gt;This code will list out section parameters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 11:04:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/section-view-object/m-p/8219042#M48109</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2018-08-23T11:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Section view object</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/section-view-object/m-p/8287448#M48110</link>
      <description>&lt;P&gt;Thank you! But the cut (as a species) does not have a coordinate parameter. I need to know the location of the cut relative to the base point of the project.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Sep 2018 07:28:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/section-view-object/m-p/8287448#M48110</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-24T07:28:22Z</dc:date>
    </item>
  </channel>
</rss>

