<?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: in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/acdbdimension-how-to-create-or-edit/m-p/316554#M37542</link>
    <description>hi, how this color code&lt;BR /&gt;&lt;BR /&gt;
FONT face="Verdana, Arial, Helvetica" size=1 color="#ff3366"&amp;gt;&lt;BR /&gt;
have been done?&amp;lt;&lt;BR /&gt;</description>
    <pubDate>Tue, 18 Feb 2003 13:56:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2003-02-18T13:56:27Z</dc:date>
    <item>
      <title>AcDbDimension - how to create or edit?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdbdimension-how-to-create-or-edit/m-p/316551#M37539</link>
      <description>&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;hi everybody,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;i try to edit a dimension style with the code &lt;BR /&gt;
below.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;it doesn't work. i can't open the &lt;BR /&gt;
object.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;what's wrong?&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;and how to create a dimstyle from new? and set all &lt;BR /&gt;
the values?&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;thanks for help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;chris&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial"&gt;&lt;BR /&gt;
size=2&amp;gt;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;AcDbDimStyleTable &lt;BR /&gt;
*pStyleTable;&lt;BR /&gt;if(acdbHostApplicationServices()-&amp;gt;workingDatabase()-&amp;gt;getDimStyleTable(pStyleTable, &lt;BR /&gt;
AcDb::kForRead) != Acad::eOk)&lt;BR /&gt;&amp;nbsp;return;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;if(pStyleTable-&amp;gt;has("Standard") == &lt;BR /&gt;
true)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;//pStyleTable-&amp;gt;upgradeOpen();&lt;BR /&gt;&amp;nbsp;AcDbObjectId &lt;BR /&gt;
newId;&lt;BR /&gt;&amp;nbsp;pStyleTable-&amp;gt;getAt("Standard", newId); &lt;BR /&gt;
&lt;BR /&gt;&amp;nbsp;pStyleTable-&amp;gt;close();&lt;BR /&gt;&amp;nbsp;AcDbDimension &lt;BR /&gt;
*pDim;&lt;BR /&gt;&amp;nbsp;AcDbEntity *pO;&lt;BR /&gt;&amp;nbsp; if(acdbOpenObject(pO, newId, &lt;BR /&gt;
AcDb::kForRead) == Acad::eOk)&lt;BR /&gt;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; // Changes arrowhead &lt;BR /&gt;
from closed filled to ArchTick&lt;BR /&gt;&amp;nbsp; pDim = &lt;BR /&gt;
AcDbDimension::cast(pO);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;
pDim-&amp;gt;setDimblk("M");&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;
pDim-&amp;gt;recomputeDimBlock();&lt;BR /&gt;&amp;nbsp;&amp;nbsp; pDim-&amp;gt;close();&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;
}&lt;BR /&gt;&amp;nbsp;}&lt;BR /&gt;&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Feb 2003 14:15:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdbdimension-how-to-create-or-edit/m-p/316551#M37539</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-02-17T14:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: AcDbDimension - how to create or edit?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdbdimension-how-to-create-or-edit/m-p/316552#M37540</link>
      <description>&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Try this here&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="#0000ff"&gt;&lt;BR /&gt;
&lt;P&gt;AcDbDimStyleTableRecord&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; *&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#4b0082&amp;gt;pRec&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; = 0;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;CString&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#4b0082&amp;gt;m_dimstyle&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; = &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#800080&amp;gt;"gglass"&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;;&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;Acad&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;::&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff&amp;gt;ErrorStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#4b0082&amp;gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(!&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff&amp;gt;AcDbSymbolUtilities&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;::&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#880000&amp;gt;hasDimStyle&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#4b0082&amp;gt;m_dimstyle&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;, &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#a000a0&amp;gt;acdbCurDwg&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;()))&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;{&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;AcDbObjectId&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;objId&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; = &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;AcDbSymbolUtilities&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;::&lt;/FONT&gt;&lt;FONT color="#880000"&gt;getDimStyleId&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;(&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;objId&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;, &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT color="#800080"&gt;"Standard"&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;, &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#a000a0&amp;gt;acdbCurDwg&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;());&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#4b0082&amp;gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; == &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff&amp;gt;Acad&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;::&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#a000a0&amp;gt;eOk&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;)&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;{&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;AcDbDimStyleTable&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; &lt;BR /&gt;
*&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;pCurT&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; = 0;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; = &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT color="#a000a0"&gt;acdbCurDwg&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;()-&amp;gt;&lt;/FONT&gt;&lt;FONT color="#880000"&gt;getDimStyleTable&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;(&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;pCurT&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;, &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;AcDb&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;::&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#a000a0&amp;gt;kForWrite&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;);&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#4b0082&amp;gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; == &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff&amp;gt;Acad&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;::&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#a000a0&amp;gt;eOk&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;)&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;{&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; = &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT color="#880000"&gt;acdbOpenObject&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;(&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;pRec&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;, &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;objId&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;, &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff&amp;gt;AcDb&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;::&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#a000a0&amp;gt;kForRead&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;);&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#4b0082&amp;gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; == &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff&amp;gt;Acad&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;::&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#a000a0&amp;gt;eOk&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;)&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;{&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;AcDbDimStyleTableRecord&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; &lt;BR /&gt;
*&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;pDimRecord&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; = &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff&amp;gt;new&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff&amp;gt;AcDbDimStyleTableRecord&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;();&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;pDimRecord&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; = &lt;BR /&gt;
(&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;AcDbDimStyleTableRecord&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;*)&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;pRec&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;-&amp;gt;&lt;/FONT&gt;&lt;FONT color="#880000"&gt;clone&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;();&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#4b0082&amp;gt;pDimRecord&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;)&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;{&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; = &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;pDimRecord&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;-&amp;gt;&lt;/FONT&gt;&lt;FONT color="#880000"&gt;setName&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;(&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;m_dimstyle&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;);&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#4b0082&amp;gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; != &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff&amp;gt;Acad&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;::&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#a000a0&amp;gt;eOk&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;)&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#880000"&gt;acedAlert&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#800080&amp;gt;"Unable to set dimension style name"&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;);&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; = &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;pDimRecord&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;-&amp;gt;&lt;/FONT&gt;&lt;FONT color="#880000"&gt;setDimblk&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;(&lt;/FONT&gt;&lt;FONT color="#800080"&gt;"_ArchTick"&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;);&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#4b0082&amp;gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; != &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff&amp;gt;Acad&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;::&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#a000a0&amp;gt;eOk&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;)&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#880000"&gt;acedAlert&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#800080&amp;gt;"Unable to set dimblk"&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;);&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; = &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;pDimRecord&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;-&amp;gt;&lt;/FONT&gt;&lt;FONT color="#880000"&gt;setDimblk1&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;(&lt;/FONT&gt;&lt;FONT color="#800080"&gt;"_ArchTick"&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;);&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#4b0082&amp;gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; != &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff&amp;gt;Acad&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;::&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#a000a0&amp;gt;eOk&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;)&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#880000"&gt;acedAlert&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#800080&amp;gt;"Unable to set dimblk1"&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;);&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; = &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;pDimRecord&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;-&amp;gt;&lt;/FONT&gt;&lt;FONT color="#880000"&gt;setDimblk2&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;(&lt;/FONT&gt;&lt;FONT color="#800080"&gt;"_ArchTick"&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;);&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#4b0082&amp;gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; != &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff&amp;gt;Acad&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;::&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#a000a0&amp;gt;eOk&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;)&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#880000"&gt;acedAlert&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#800080&amp;gt;"Unable to set dimblk2"&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;);&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; = &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;pDimRecord&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;-&amp;gt;&lt;/FONT&gt;&lt;FONT color="#880000"&gt;setDimldrblk&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;(&lt;/FONT&gt;&lt;FONT color="#800080"&gt;"_ArchTick"&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;);&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#4b0082&amp;gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; != &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff&amp;gt;Acad&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;::&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#a000a0&amp;gt;eOk&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;)&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#880000"&gt;acedAlert&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#800080&amp;gt;"Unable to set dimldrblk"&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;);&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; = &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;pCurT&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;-&amp;gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#880000&amp;gt;add&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#4b0082&amp;gt;pDimRecord&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;);&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#4b0082&amp;gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; == &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff&amp;gt;Acad&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;::&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#a000a0&amp;gt;eOk&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;)&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;{&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; = &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;pDimRecord&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;-&amp;gt;&lt;/FONT&gt;&lt;FONT color="#880000"&gt;close&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;();&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#4b0082&amp;gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; != &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff&amp;gt;Acad&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;::&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#a000a0&amp;gt;eOk&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;)&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;{&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#880000"&gt;acedAlert&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#800080&amp;gt;"Unable to close new dimstyle"&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;);&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;pRec&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;-&amp;gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#880000&amp;gt;close&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;();&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;pCurT&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;-&amp;gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#880000&amp;gt;close&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;();&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;return&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; ;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;} &lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;else&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;&lt;BR /&gt;
&lt;P&gt;{&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#880000"&gt;acedAlert&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#800080&amp;gt;"Unable to add dimstyle to current drawing"&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;);&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;pRec&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;-&amp;gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#880000&amp;gt;close&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;();&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;pCurT&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;-&amp;gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#880000&amp;gt;close&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;();&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;delete&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#4b0082&amp;gt;pDimRecord&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;return&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; ;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; = &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;pRec&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;-&amp;gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#880000&amp;gt;close&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;();&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#4b0082&amp;gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; != &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff&amp;gt;Acad&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;::&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#a000a0&amp;gt;eOk&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;)&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;{&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#880000"&gt;acedAlert&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#800080&amp;gt;"Unable to close record of source drawing"&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;);&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;pCurT&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;-&amp;gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#880000&amp;gt;close&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;();&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;return&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; ;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; = &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;pCurT&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;-&amp;gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#880000&amp;gt;close&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;();&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#4b0082&amp;gt;m_eStatus&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt; != &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff&amp;gt;Acad&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;::&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#a000a0&amp;gt;eOk&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;)&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#880000"&gt;acedAlert&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#800080&amp;gt;"Unable to close current layer table"&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;);&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;else&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#880000"&gt;acedAlert&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#800080&amp;gt;"Unable to retrieve dimstyle from source drawing"&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;);&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;}&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Sorry for the way that copy and paste made this &lt;BR /&gt;
look&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE dir="ltr"&gt;&lt;BR /&gt;
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;"chris" &amp;lt;&lt;A&gt;&lt;BR /&gt;
  href="mailto:christian_marx@justmail.de"&amp;gt;christian_marx@justmail.de&lt;/A&gt;&amp;gt; &lt;BR /&gt;
  wrote in message &lt;A&gt;&lt;BR /&gt;
  href="news:F8D8C405C1DDD6E6FE66996C1075461A@in.WebX.maYIadrTaRb"&amp;gt;news:F8D8C405C1DDD6E6FE66996C1075461A@in.WebX.maYIadrTaRb&lt;/A&gt;...&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;hi everybody,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;i try to edit a dimension style with the code &lt;BR /&gt;
  below.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;it doesn't work. i can't open the &lt;BR /&gt;
  object.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;what's wrong?&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;and how to create a dimstyle from new? and set &lt;BR /&gt;
  all the values?&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;thanks for help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;chris&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial"&gt;&lt;BR /&gt;
  size=2&amp;gt;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;AcDbDimStyleTable &lt;BR /&gt;
  *pStyleTable;&lt;BR /&gt;if(acdbHostApplicationServices()-&amp;gt;workingDatabase()-&amp;gt;getDimStyleTable(pStyleTable, &lt;BR /&gt;
  AcDb::kForRead) != Acad::eOk)&lt;BR /&gt;&amp;nbsp;return;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;if(pStyleTable-&amp;gt;has("Standard") == &lt;BR /&gt;
  true)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;//pStyleTable-&amp;gt;upgradeOpen();&lt;BR /&gt;&amp;nbsp;AcDbObjectId &lt;BR /&gt;
  newId;&lt;BR /&gt;&amp;nbsp;pStyleTable-&amp;gt;getAt("Standard", newId); &lt;BR /&gt;
  &lt;BR /&gt;&amp;nbsp;pStyleTable-&amp;gt;close();&lt;BR /&gt;&amp;nbsp;AcDbDimension &lt;BR /&gt;
  *pDim;&lt;BR /&gt;&amp;nbsp;AcDbEntity *pO;&lt;BR /&gt;&amp;nbsp; if(acdbOpenObject(pO, newId, &lt;BR /&gt;
  AcDb::kForRead) == Acad::eOk)&lt;BR /&gt;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; // Changes arrowhead &lt;BR /&gt;
  from closed filled to ArchTick&lt;BR /&gt;&amp;nbsp; pDim = &lt;BR /&gt;
  AcDbDimension::cast(pO);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;
  pDim-&amp;gt;setDimblk("M");&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;
  pDim-&amp;gt;recomputeDimBlock();&lt;BR /&gt;&amp;nbsp;&amp;nbsp; pDim-&amp;gt;close();&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;
  }&lt;BR /&gt;&amp;nbsp;}&lt;BR /&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Mon, 17 Feb 2003 18:33:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdbdimension-how-to-create-or-edit/m-p/316552#M37540</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-02-17T18:33:53Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdbdimension-how-to-create-or-edit/m-p/316553#M37541</link>
      <description>&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;hi gary,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;what a perfect code!&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;works fine :-))&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;thank you very much&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;chris&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 18 Feb 2003 13:27:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdbdimension-how-to-create-or-edit/m-p/316553#M37541</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-02-18T13:27:43Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdbdimension-how-to-create-or-edit/m-p/316554#M37542</link>
      <description>hi, how this color code&lt;BR /&gt;&lt;BR /&gt;
FONT face="Verdana, Arial, Helvetica" size=1 color="#ff3366"&amp;gt;&lt;BR /&gt;
have been done?&amp;lt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Feb 2003 13:56:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdbdimension-how-to-create-or-edit/m-p/316554#M37542</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-02-18T13:56:27Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdbdimension-how-to-create-or-edit/m-p/316555#M37543</link>
      <description>&lt;FONT face="Verdana, Arial, Helvetica" size="1" color="#ff3366"&gt;&lt;BR /&gt;
Vaadake meie uudiste leheküljel:&lt;BR /&gt;
&lt;/FONT&gt;</description>
      <pubDate>Tue, 18 Feb 2003 13:57:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdbdimension-how-to-create-or-edit/m-p/316555#M37543</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-02-18T13:57:38Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdbdimension-how-to-create-or-edit/m-p/316556#M37544</link>
      <description>&lt;IMG src="http://www.empai.ee/addons/land1.gif" align="top" height="75" width="175" /&gt;</description>
      <pubDate>Tue, 18 Feb 2003 14:04:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdbdimension-how-to-create-or-edit/m-p/316556#M37544</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-02-18T14:04:07Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdbdimension-how-to-create-or-edit/m-p/316557#M37545</link>
      <description>&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;No problem just let me know if you have any more &lt;BR /&gt;
questions?&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE dir="ltr"&gt;&lt;BR /&gt;
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;"chris" &amp;lt;&lt;A&gt;&lt;BR /&gt;
  href="mailto:christian_marx@justmail.de"&amp;gt;christian_marx@justmail.de&lt;/A&gt;&amp;gt; &lt;BR /&gt;
  wrote in message &lt;A&gt;&lt;BR /&gt;
  href="news:EE1939FC6B802CA0EC3E612E1BBE91BE@in.WebX.maYIadrTaRb"&amp;gt;news:EE1939FC6B802CA0EC3E612E1BBE91BE@in.WebX.maYIadrTaRb&lt;/A&gt;...&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;hi gary,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;what a perfect code!&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;works fine :-))&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;thank you very much&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;chris&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 18 Feb 2003 15:13:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdbdimension-how-to-create-or-edit/m-p/316557#M37545</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-02-18T15:13:18Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdbdimension-how-to-create-or-edit/m-p/316558#M37546</link>
      <description>&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;hi gary,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;i have another question:&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;how to set an other dimstyle &lt;BR /&gt;
current?&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Feb 2003 01:11:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdbdimension-how-to-create-or-edit/m-p/316558#M37546</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-02-19T01:11:34Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdbdimension-how-to-create-or-edit/m-p/316559#M37547</link>
      <description>&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;You need to call these two functions&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT color="#a000a0"&gt;acdbCurDwg&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;()-&amp;gt;&lt;/FONT&gt;&lt;FONT color="#880000"&gt;setDimstyle&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;(&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;m_dimstyleId&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;);&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;BR /&gt;
&lt;P&gt;&lt;FONT color="#a000a0"&gt;acdbCurDwg&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;()-&amp;gt;&lt;/FONT&gt;&lt;FONT color="#880000"&gt;setDimstyleData&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;(&lt;/FONT&gt;&lt;FONT color="#4b0082"&gt;m_dimstyleId&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;FONT face="Arial" color="#000000" size="2"&gt;m_dimstyleId is the &lt;BR /&gt;
ObjectId of the dimstyle you want to make current&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;When you are adding the dimstyle record you can use &lt;BR /&gt;
this way because it gives you the ObjectId of the dimstyle&lt;/FONT&gt;&lt;/P&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#ff0000&amp;gt;&lt;FONT color="#4b0082"&gt;&lt;BR /&gt;
&lt;P&gt;pCurT&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;-&amp;gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#880000&amp;gt;add&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#4b0082&amp;gt;m_dimstyleId&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;, &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#4b0082&amp;gt;pDimRecord&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;);&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;&lt;FONT color="#ff0000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE dir="ltr"&gt;&lt;BR /&gt;
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;"chris" &amp;lt;&lt;A&gt;&lt;BR /&gt;
  href="mailto:christian_marx@justmail.de"&amp;gt;christian_marx@justmail.de&lt;/A&gt;&amp;gt; &lt;BR /&gt;
  wrote in message &lt;A&gt;&lt;BR /&gt;
  href="news:CA70D070EF56D32B360200B4E84D7D08@in.WebX.maYIadrTaRb"&amp;gt;news:CA70D070EF56D32B360200B4E84D7D08@in.WebX.maYIadrTaRb&lt;/A&gt;...&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;hi gary,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;i have another question:&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;how to set an other dimstyle &lt;BR /&gt;
current?&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 19 Feb 2003 01:44:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdbdimension-how-to-create-or-edit/m-p/316559#M37547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-02-19T01:44:21Z</dc:date>
    </item>
  </channel>
</rss>

