<?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: Set Style of ACA Objects in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/set-style-of-aca-objects/m-p/2716829#M64787</link>
    <description>&lt;P&gt;Thanks for&amp;nbsp;the quick reply.&amp;nbsp; That is exactly what I needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jul 2010 15:50:23 GMT</pubDate>
    <dc:creator>ChrisPicklesimer</dc:creator>
    <dc:date>2010-07-14T15:50:23Z</dc:date>
    <item>
      <title>Set Style of ACA Objects</title>
      <link>https://forums.autodesk.com/t5/net-forum/set-style-of-aca-objects/m-p/2716669#M64785</link>
      <description>&lt;P&gt;With the help of code found in this NG, I have been able to import ACA styles from a library dwg.&amp;nbsp; Once the style has been imported I am not sure how set the style once I create various ACA objects.&amp;nbsp; For structural member and wall objects I have created,&amp;nbsp;I see a StyleID property.&amp;nbsp; I am assuming that is how I set the style.&amp;nbsp; How do I get the StyleID of ACA styles within a dwg file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2010 14:20:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/set-style-of-aca-objects/m-p/2716669#M64785</guid>
      <dc:creator>ChrisPicklesimer</dc:creator>
      <dc:date>2010-07-14T14:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set Style of ACA Objects</title>
      <link>https://forums.autodesk.com/t5/net-forum/set-style-of-aca-objects/m-p/2716789#M64786</link>
      <description>&lt;PRE&gt;&lt;FONT size="1" face="arial,helvetica,sans-serif"&gt;Public Shared Function GetWallStyleId(ByVal name As String) As ObjectId
            Dim db As Database = Autodesk.AutoCAD.DatabaseServices.HostApplicationServices.WorkingDatabase
            Dim wallStyleId As ObjectId = ObjectId.Null
            Using tr As Transaction = db.TransactionManager.StartTransaction()
                Dim wallStylesDict As New Autodesk.Aec.Arch.DatabaseServices.DictionaryWallStyle(db)
                If wallStylesDict.Has(name, tr) Then
                    wallStyleId = wallStylesDict.GetAt(name)
                End If
                tr.Commit()
            End Using
            Return wallStyleId
        End Function&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2010 15:26:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/set-style-of-aca-objects/m-p/2716789#M64786</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-14T15:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Style of ACA Objects</title>
      <link>https://forums.autodesk.com/t5/net-forum/set-style-of-aca-objects/m-p/2716829#M64787</link>
      <description>&lt;P&gt;Thanks for&amp;nbsp;the quick reply.&amp;nbsp; That is exactly what I needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2010 15:50:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/set-style-of-aca-objects/m-p/2716829#M64787</guid>
      <dc:creator>ChrisPicklesimer</dc:creator>
      <dc:date>2010-07-14T15:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set Style of ACA Objects</title>
      <link>https://forums.autodesk.com/t5/net-forum/set-style-of-aca-objects/m-p/2716917#M64788</link>
      <description>&lt;P&gt;I use MEP and not much of the arch styles&lt;/P&gt;&lt;P&gt;It was a function I used for panelstyles I modified it for wallstyles, I did not test it&lt;/P&gt;&lt;P&gt;so let me know if it does not work&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2010 16:26:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/set-style-of-aca-objects/m-p/2716917#M64788</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-14T16:26:35Z</dc:date>
    </item>
  </channel>
</rss>

