<?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 Read and set Dimension style from current drawing file. in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/read-and-set-dimension-style-from-current-drawing-file/m-p/8883657#M5274</link>
    <description>&lt;P&gt;How do I read, from a Dimension Style table in the current drawing, and set it to an object to be used later for drawing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code below, returns object id as null. Am I missing something here?&lt;/P&gt;&lt;P&gt;Thank You for your help in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;AcDbDimStyleTable *pDimensionStyleTbl;

theDb-&amp;gt;getSymbolTable(pDimensionStyleTbl, AcDb::kForRead);
pDimensionStyleTbl-&amp;gt;getAt(_T("_STANDARD"), idDimensionStyleStandard);&lt;/PRE&gt;</description>
    <pubDate>Mon, 01 Jul 2019 19:01:39 GMT</pubDate>
    <dc:creator>jlobo2</dc:creator>
    <dc:date>2019-07-01T19:01:39Z</dc:date>
    <item>
      <title>Read and set Dimension style from current drawing file.</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/read-and-set-dimension-style-from-current-drawing-file/m-p/8883657#M5274</link>
      <description>&lt;P&gt;How do I read, from a Dimension Style table in the current drawing, and set it to an object to be used later for drawing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code below, returns object id as null. Am I missing something here?&lt;/P&gt;&lt;P&gt;Thank You for your help in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;AcDbDimStyleTable *pDimensionStyleTbl;

theDb-&amp;gt;getSymbolTable(pDimensionStyleTbl, AcDb::kForRead);
pDimensionStyleTbl-&amp;gt;getAt(_T("_STANDARD"), idDimensionStyleStandard);&lt;/PRE&gt;</description>
      <pubDate>Mon, 01 Jul 2019 19:01:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/read-and-set-dimension-style-from-current-drawing-file/m-p/8883657#M5274</guid>
      <dc:creator>jlobo2</dc:creator>
      <dc:date>2019-07-01T19:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Read and set Dimension style from current drawing file.</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/read-and-set-dimension-style-from-current-drawing-file/m-p/8886891#M5275</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try.. something like&lt;/P&gt;
&lt;PRE&gt;AcDbDimStyleTable *pDimStyleTable = NULL;
AcDbDatabase *pDwg = acdbHostApplicationServices()-&amp;gt;workingDatabase();
if (pDwg-&amp;gt;getDimStyleTable(pDimStyleTable, AcDb::kForRead) == Acad::eOk)
{
}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 04:57:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/read-and-set-dimension-style-from-current-drawing-file/m-p/8886891#M5275</guid>
      <dc:creator>Virupaksha_aithal</dc:creator>
      <dc:date>2019-07-03T04:57:58Z</dc:date>
    </item>
  </channel>
</rss>

