<?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: Looking for a Programmatic Way to Associate a Standards File with a  Drawing in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/looking-for-a-programmatic-way-to-associate-a-standards-file/m-p/2638955#M66772</link>
    <description>So you're not the drawing program working on the programmer? &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
The names of the attached .DWS files are stored in xrecords&lt;BR /&gt;
(1 per file) in a dictionary named AcStStandard, which itself is&lt;BR /&gt;
a member of the root dictionary.&lt;BR /&gt;
&lt;BR /&gt;
You can look at those items in a drawing with .DWS files&lt;BR /&gt;
attached to see the exact format.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
&lt;KLGALLOWAY&gt; wrote in message news:6343518@discussion.autodesk.com...&lt;BR /&gt;
We are trying to have a button on a ribbon panel in AutoCAD 2010 associate a &lt;BR /&gt;
.dws file with the current drawing. The "_standards" command brings up the &lt;BR /&gt;
required dialog to let you set the standards file, but I have found no way to &lt;BR /&gt;
include the filename in the command and have it work in the background. I also &lt;BR /&gt;
know that we can associate the standards file with our default template and &lt;BR /&gt;
capture all new drawings, but we need a simple one click of a big button method &lt;BR /&gt;
to hold down on the helpdesk calls.&lt;BR /&gt;
&lt;BR /&gt;
Let me know if yopu have something. I am a returnee to AutoCAD after 18 years &lt;BR /&gt;
away so some thing have changed. I am a programmer working in a drawing program &lt;BR /&gt;
and not the other way around.&lt;/KLGALLOWAY&gt;</description>
    <pubDate>Wed, 24 Feb 2010 21:41:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-02-24T21:41:14Z</dc:date>
    <item>
      <title>Looking for a Programmatic Way to Associate a Standards File with a Drawing</title>
      <link>https://forums.autodesk.com/t5/net-forum/looking-for-a-programmatic-way-to-associate-a-standards-file/m-p/2638954#M66771</link>
      <description>We are trying to have a button on a ribbon panel in AutoCAD 2010 associate a .dws file with the current drawing. The "_standards" command brings up the required dialog to let you set the standards file, but I have found no way to include the filename in the command and have it work in the background. I also know that we can associate the standards file with our default template and capture all new drawings, but we need a simple one click of a big button method to hold down on the helpdesk calls.&lt;BR /&gt;
&lt;BR /&gt;
Let me know if you have something. I am a returnee to AutoCAD after 18 years away so some things may have changed. For background, I am a programmer working in a drawing program and not the other way around.&lt;BR /&gt;
&lt;BR /&gt;
Edited by: KLGalloway on Feb 24, 2010 9:33 PM

Edited by: KLGalloway on Feb 24, 2010 9:34 PM</description>
      <pubDate>Wed, 24 Feb 2010 19:39:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/looking-for-a-programmatic-way-to-associate-a-standards-file/m-p/2638954#M66771</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-24T19:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a Programmatic Way to Associate a Standards File with a  Drawing</title>
      <link>https://forums.autodesk.com/t5/net-forum/looking-for-a-programmatic-way-to-associate-a-standards-file/m-p/2638955#M66772</link>
      <description>So you're not the drawing program working on the programmer? &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
The names of the attached .DWS files are stored in xrecords&lt;BR /&gt;
(1 per file) in a dictionary named AcStStandard, which itself is&lt;BR /&gt;
a member of the root dictionary.&lt;BR /&gt;
&lt;BR /&gt;
You can look at those items in a drawing with .DWS files&lt;BR /&gt;
attached to see the exact format.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
&lt;KLGALLOWAY&gt; wrote in message news:6343518@discussion.autodesk.com...&lt;BR /&gt;
We are trying to have a button on a ribbon panel in AutoCAD 2010 associate a &lt;BR /&gt;
.dws file with the current drawing. The "_standards" command brings up the &lt;BR /&gt;
required dialog to let you set the standards file, but I have found no way to &lt;BR /&gt;
include the filename in the command and have it work in the background. I also &lt;BR /&gt;
know that we can associate the standards file with our default template and &lt;BR /&gt;
capture all new drawings, but we need a simple one click of a big button method &lt;BR /&gt;
to hold down on the helpdesk calls.&lt;BR /&gt;
&lt;BR /&gt;
Let me know if yopu have something. I am a returnee to AutoCAD after 18 years &lt;BR /&gt;
away so some thing have changed. I am a programmer working in a drawing program &lt;BR /&gt;
and not the other way around.&lt;/KLGALLOWAY&gt;</description>
      <pubDate>Wed, 24 Feb 2010 21:41:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/looking-for-a-programmatic-way-to-associate-a-standards-file/m-p/2638955#M66772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-24T21:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a Programmatic Way to Associate a Standards File with a  Drawing</title>
      <link>https://forums.autodesk.com/t5/net-forum/looking-for-a-programmatic-way-to-associate-a-standards-file/m-p/2638956#M66773</link>
      <description>Thnaks, Tony, but I can't find any reference for an AcStStandard object of any kind. Searching for standard gets lots of returns in the Object Browser, none starting with AcSt which itself only brings back AcStatusBarItem, AcString, and AcStraightLeader.&lt;BR /&gt;
&lt;BR /&gt;
Do you have a few more clues, or better yet, some simple code to share? Being a dictionary makes sense, but I need a bit of a windup and a push to get going. If you could be so kind.</description>
      <pubDate>Wed, 24 Feb 2010 22:05:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/looking-for-a-programmatic-way-to-associate-a-standards-file/m-p/2638956#M66773</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-24T22:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a Programmatic Way to Associate a Standards File with a  Drawing</title>
      <link>https://forums.autodesk.com/t5/net-forum/looking-for-a-programmatic-way-to-associate-a-standards-file/m-p/2638957#M66774</link>
      <description>Please read my post again.&lt;BR /&gt;
&lt;BR /&gt;
It doesn't say anything about an object named 'AcStStandard', it says&lt;BR /&gt;
that there is a DBDictionary named 'AcStStandard' in the root dictionary&lt;BR /&gt;
of the drawing.&lt;BR /&gt;
&lt;BR /&gt;
If you've been out of the game as long as you say, then you're going to&lt;BR /&gt;
need to spend some time brushing up on what has changed (which in a&lt;BR /&gt;
nutshell, is just about everything)&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
&lt;KLGALLOWAY&gt; wrote in message news:6343676@discussion.autodesk.com...&lt;BR /&gt;
Thnaks, Tony, but I can't find any reference for an AcStStandard object of any &lt;BR /&gt;
kind. Searching for standard gets lots of returns in the Object Browser, none &lt;BR /&gt;
starting with AcSt which itself only brings back AcStatusBarItem, AcString, and &lt;BR /&gt;
AcStraightLeader.&lt;BR /&gt;
&lt;BR /&gt;
Do you have a few more clues, or better yet, some simple code to share? Being a &lt;BR /&gt;
dictionary makes sense, but I need a bit of a windup and a push to get going. If &lt;BR /&gt;
you could be so kind.&lt;/KLGALLOWAY&gt;</description>
      <pubDate>Thu, 25 Feb 2010 00:49:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/looking-for-a-programmatic-way-to-associate-a-standards-file/m-p/2638957#M66774</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-25T00:49:08Z</dc:date>
    </item>
  </channel>
</rss>

