<?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 Change section view style in .NET in Civil 3D Customization Forum</title>
    <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/change-section-view-style-in-net/m-p/9142290#M9068</link>
    <description>&lt;P&gt;Hi, want to change the style for my section view base on StyleID or StyleName&lt;/P&gt;&lt;P&gt;but I got the error message: " need to override property StyleId()"&lt;/P&gt;&lt;P&gt;Here is my code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;using (Transaction civiltr = ObjectID.Database.TransactionManager.StartTransaction())&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;CivilEntity obj = civiltr.GetObject(ObjectID, OpenMode.ForWrite) as CivilEntity;&lt;/P&gt;&lt;P&gt;/// Tried with ///&amp;nbsp;SectionView obj = civiltr.GetObject(ObjectID, OpenMode.ForWrite) as SectionView ; ( not work also) //////&lt;BR /&gt;obj.StyleId = StyleID;&lt;/P&gt;&lt;P&gt;/// also tried with obj.StyleName too //////&lt;BR /&gt;&lt;BR /&gt;civiltr.Commit();&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2019 19:46:03 GMT</pubDate>
    <dc:creator>tranmanh1992</dc:creator>
    <dc:date>2019-11-12T19:46:03Z</dc:date>
    <item>
      <title>Change section view style in .NET</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/change-section-view-style-in-net/m-p/9142290#M9068</link>
      <description>&lt;P&gt;Hi, want to change the style for my section view base on StyleID or StyleName&lt;/P&gt;&lt;P&gt;but I got the error message: " need to override property StyleId()"&lt;/P&gt;&lt;P&gt;Here is my code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;using (Transaction civiltr = ObjectID.Database.TransactionManager.StartTransaction())&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;CivilEntity obj = civiltr.GetObject(ObjectID, OpenMode.ForWrite) as CivilEntity;&lt;/P&gt;&lt;P&gt;/// Tried with ///&amp;nbsp;SectionView obj = civiltr.GetObject(ObjectID, OpenMode.ForWrite) as SectionView ; ( not work also) //////&lt;BR /&gt;obj.StyleId = StyleID;&lt;/P&gt;&lt;P&gt;/// also tried with obj.StyleName too //////&lt;BR /&gt;&lt;BR /&gt;civiltr.Commit();&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 19:46:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/change-section-view-style-in-net/m-p/9142290#M9068</guid>
      <dc:creator>tranmanh1992</dc:creator>
      <dc:date>2019-11-12T19:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Change section view style in .NET</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/change-section-view-style-in-net/m-p/9142330#M9069</link>
      <description>Unfortunately Autodesk seems to think that we don't need to change the style used by some C3D entities. SectionViews and Parcels come to mind. Corridors used to have this issue but this was corrected in recent releases.</description>
      <pubDate>Tue, 12 Nov 2019 20:08:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/change-section-view-style-in-net/m-p/9142330#M9069</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2019-11-12T20:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Change section view style in .NET</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/change-section-view-style-in-net/m-p/9142342#M9070</link>
      <description>&lt;P&gt;Thanks for the info.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 20:16:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/change-section-view-style-in-net/m-p/9142342#M9070</guid>
      <dc:creator>tranmanh1992</dc:creator>
      <dc:date>2019-11-12T20:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Change section view style in .NET</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/change-section-view-style-in-net/m-p/9533172#M9071</link>
      <description>&lt;P&gt;Worse, the SectionViewGroups.Add doesn't use the DrawingSettings for the Section View Style.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 02:02:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/change-section-view-style-in-net/m-p/9533172#M9071</guid>
      <dc:creator>Civil3DReminders_com</dc:creator>
      <dc:date>2020-05-22T02:02:02Z</dc:date>
    </item>
  </channel>
</rss>

