<?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: How to find Plot Style Sheet/Table name for entity? in Civil 3D Customization Forum</title>
    <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-find-plot-style-sheet-table-name-for-entity/m-p/11719100#M4227</link>
    <description>Thank you for your reply. I am able to find current active plot style and style list using PiaNo.&lt;BR /&gt;My question is, if I have Poly1 with plot style "Style1 (from acad.stb)" and Poly2 with plot style "Style1 (from monochrome.stb)". Is there any way to find that Poly1 has plot style Style1 from acad.stb and not from monochrome.stb</description>
    <pubDate>Tue, 31 Jan 2023 16:22:06 GMT</pubDate>
    <dc:creator>varshaauti27</dc:creator>
    <dc:date>2023-01-31T16:22:06Z</dc:date>
    <item>
      <title>How to find Plot Style Sheet/Table name for entity?</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-find-plot-style-sheet-table-name-for-entity/m-p/11708515#M4225</link>
      <description>&lt;P&gt;Hi, I have polyline with plot style "style 1" from plot style table "acad.stb". I am able to find plot style name using entity.PlotStyleName but looking for way to find plot style table/sheet name, as I have "Style 1" present in another plot style table. Refer attached image.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="varshaauti27_0-1674765962306.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1167756i40D274B462090520/image-size/medium?v=v2&amp;amp;px=400" role="button" title="varshaauti27_0-1674765962306.png" alt="varshaauti27_0-1674765962306.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 20:49:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-find-plot-style-sheet-table-name-for-entity/m-p/11708515#M4225</guid>
      <dc:creator>varshaauti27</dc:creator>
      <dc:date>2023-01-26T20:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to find Plot Style Sheet/Table name for entity?</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-find-plot-style-sheet-table-name-for-entity/m-p/11710921#M4226</link>
      <description>&lt;P&gt;The following is a quick example of getting the current Style Table or Color Table of the current layout. As well as listing the available tables. If you are wanting to read the contents of the style table or color table, I would suggest looing into PiaNO which can be found here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/phusband/PiaNO" target="_blank"&gt;https://github.com/phusband/PiaNO&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;&amp;lt;CommandMethod("PlotConfigsEx")&amp;gt;
Public Sub CmdPlotConfigsEx()
   GetCurrent() 'CommandBase - Sets Private aDoc, db, and ed  

   Using tr As Transaction = db.TransactionManager.StartTransaction

      Dim loMgr As LayoutManager = LayoutManager.Current
      Dim loId As ObjectId = loMgr.GetLayoutId(loMgr.CurrentLayout)
      Dim lo As Layout = tr.GetObject(loId, OpenMode.ForRead)

      If String.IsNullOrEmpty(lo.CurrentStyleSheet) Then
         ed.WriteMessage(vbCrLf &amp;amp; "Current Style Sheet: None")
      Else
         ed.WriteMessage(vbCrLf &amp;amp; "Current Style Sheet: " &amp;amp; lo.CurrentStyleSheet)
      End If

      Dim psVal As PlotSettingsValidator = PlotSettingsValidator.Current

      Dim sheetList As StringCollection = psVal.GetPlotStyleSheetList

      ed.WriteMessage(vbCrLf &amp;amp; "Available Style Sheets: ")
      For Each s As String In sheetList
         ed.WriteMessage(vbCrLf &amp;amp; " --&amp;gt; " &amp;amp; s)
      Next

      tr.Commit()
   End Using
End Sub&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 17:47:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-find-plot-style-sheet-table-name-for-entity/m-p/11710921#M4226</guid>
      <dc:creator>hippe013</dc:creator>
      <dc:date>2023-01-27T17:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to find Plot Style Sheet/Table name for entity?</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-find-plot-style-sheet-table-name-for-entity/m-p/11719100#M4227</link>
      <description>Thank you for your reply. I am able to find current active plot style and style list using PiaNo.&lt;BR /&gt;My question is, if I have Poly1 with plot style "Style1 (from acad.stb)" and Poly2 with plot style "Style1 (from monochrome.stb)". Is there any way to find that Poly1 has plot style Style1 from acad.stb and not from monochrome.stb</description>
      <pubDate>Tue, 31 Jan 2023 16:22:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-find-plot-style-sheet-table-name-for-entity/m-p/11719100#M4227</guid>
      <dc:creator>varshaauti27</dc:creator>
      <dc:date>2023-01-31T16:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to find Plot Style Sheet/Table name for entity?</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-find-plot-style-sheet-table-name-for-entity/m-p/11719446#M4228</link>
      <description>&lt;P&gt;As far as I know, the Plot Style is stored as just a string. It has no other knowledge of what table it came from. This way you can have two different style tables that contain the same style names and you can then easily switch tables without having to reassign the plot styles on the objects. That is my understanding anyways.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 18:23:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-find-plot-style-sheet-table-name-for-entity/m-p/11719446#M4228</guid>
      <dc:creator>hippe013</dc:creator>
      <dc:date>2023-01-31T18:23:02Z</dc:date>
    </item>
  </channel>
</rss>

