<?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: Styles to Toolbar in Civil 3D Customization Forum</title>
    <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/styles-to-toolbar/m-p/3776812#M19558</link>
    <description>&lt;P&gt;Search under my name I posted yesterday the code in VLISP to do what you want at another post.&lt;/P&gt;</description>
    <pubDate>Sun, 10 Feb 2013 23:37:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-02-10T23:37:35Z</dc:date>
    <item>
      <title>Styles to Toolbar</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/styles-to-toolbar/m-p/3565338#M19554</link>
      <description>&lt;P&gt;I saw this post but can't find a good way to get my styles written to a toolbar:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://forums.autodesk.com/t5/AutoCAD-Civil-3D-Customization/Civil-3D-Styles-to-Toolbar/m-p/2879870/highlight/true#M5358"&gt;http://forums.autodesk.com/t5/AutoCAD-Civil-3D-Customization/Civil-3D-Styles-to-Toolbar/m-p/2879870/highlight/true#M5358&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do I simply write a lisp routine and put the shortcut name in my toolbar command line?&amp;nbsp; I don't know what the "change surface style" command is.&amp;nbsp; Please help.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2012 20:10:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/styles-to-toolbar/m-p/3565338#M19554</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-03T20:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Styles to Toolbar</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/styles-to-toolbar/m-p/3566020#M19555</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;I am somewhat unsure whether it can done on AutoLisp, but you can at least get some kind of a handle (in my case it looks like&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;Style = #&amp;lt;VLA-OBJECT IAeccSurfaceStyle 1547ffe0&amp;gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;FONT color="#000000"&gt;) for a style used for a surface like that:&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;(setq ent (car (entsel "\nSelect Main Object: ")))
(setq oEnt (vlax-ename-&amp;gt;vla-object ent))
(vlax-dump-object oEnt)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Then I do not know whether you can only see it or even change. Another option which should work at least for 2013 is to write several commands in .net and then add them to a toolbar. I can think of two alternatives: either you have lots of styles in the drawing and each of the commands change the style of a surface to one of them, or these commands change the current surface style (it should not be a problem if you name surface style after your surface's name). Hope this helps somehow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR, Viktors&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Aug 2012 20:43:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/styles-to-toolbar/m-p/3566020#M19555</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-05T20:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Styles to Toolbar</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/styles-to-toolbar/m-p/3566026#M19556</link>
      <description>&lt;P&gt;What do you want on the toolbar? Give some specifics and I may be able to point you in the right direction.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Aug 2012 20:57:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/styles-to-toolbar/m-p/3566026#M19556</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2012-08-05T20:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Styles to Toolbar</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/styles-to-toolbar/m-p/3566718#M19557</link>
      <description>&lt;P&gt;for examle I have a "_JS-no display" style that i toggle to "JS - Proposed Contours 1' and 5'" frequently.&amp;nbsp; Ultimtaley i would like to build a toolbar and share with everyone at this firm to have all (lets say 20) surface styles.&amp;nbsp; This may also be helpful with spot elevations that have different rotations.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2012 14:32:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/styles-to-toolbar/m-p/3566718#M19557</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-06T14:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Styles to Toolbar</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/styles-to-toolbar/m-p/3776812#M19558</link>
      <description>&lt;P&gt;Search under my name I posted yesterday the code in VLISP to do what you want at another post.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Feb 2013 23:37:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/styles-to-toolbar/m-p/3776812#M19558</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-10T23:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Styles to Toolbar</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/styles-to-toolbar/m-p/4845293#M19559</link>
      <description>&lt;P&gt;Please find attached a zip file with an example of using a toolbar to manage the surface styles, includes&amp;nbsp;off select desired cont interval and supports multiple surfaces. I t does require minor editing of contour style names to match user names.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2014 21:20:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/styles-to-toolbar/m-p/4845293#M19559</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-27T21:20:45Z</dc:date>
    </item>
  </channel>
</rss>

