<?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 Associative dimensions on custom entities not working in AutoCAD 2019. in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/associative-dimensions-on-custom-entities-not-working-in-autocad/m-p/9480427#M4593</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Associative dimensions on custom entities are not working in AutoCAD 2019.&amp;nbsp;&lt;BR /&gt;The functions "acdbEnableDimAssocForEntity" and "acdbDisableDimAssocForEntity" is not present in "AcDimX23.dll".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And since the above mentioned functions are not present it is returning null when trying to getProcAddress() as mentioned below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;_______________________________________________________________&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;HMODULE hModule = LoadLibrary(_T("AcDimX23.dll"));&lt;BR /&gt;exp_acdbEnableDimAssocForEntity fPtrEnableDimAssoc;&lt;BR /&gt;if (nullptr != hModule)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;fPtrEnableDimAssoc =&amp;nbsp; &amp;nbsp; &amp;nbsp; (exp_acdbEnableDimAssocForEntity)GetProcAddress(hModule,"acdbEnableDimAssocForEntity");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;//&amp;nbsp;fPtrEnableDimAssoc is null after the above function call.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;________________________________________________________________&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And because of the above the associative dimensions are not working for the custom entities.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please have a look into the attached image from the dependency walker for further clarification.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any work around for this??&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Apr 2020 17:18:24 GMT</pubDate>
    <dc:creator>tripathi.navneet18</dc:creator>
    <dc:date>2020-04-29T17:18:24Z</dc:date>
    <item>
      <title>Associative dimensions on custom entities not working in AutoCAD 2019.</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/associative-dimensions-on-custom-entities-not-working-in-autocad/m-p/9480427#M4593</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Associative dimensions on custom entities are not working in AutoCAD 2019.&amp;nbsp;&lt;BR /&gt;The functions "acdbEnableDimAssocForEntity" and "acdbDisableDimAssocForEntity" is not present in "AcDimX23.dll".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And since the above mentioned functions are not present it is returning null when trying to getProcAddress() as mentioned below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;_______________________________________________________________&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;HMODULE hModule = LoadLibrary(_T("AcDimX23.dll"));&lt;BR /&gt;exp_acdbEnableDimAssocForEntity fPtrEnableDimAssoc;&lt;BR /&gt;if (nullptr != hModule)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;fPtrEnableDimAssoc =&amp;nbsp; &amp;nbsp; &amp;nbsp; (exp_acdbEnableDimAssocForEntity)GetProcAddress(hModule,"acdbEnableDimAssocForEntity");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;//&amp;nbsp;fPtrEnableDimAssoc is null after the above function call.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;________________________________________________________________&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And because of the above the associative dimensions are not working for the custom entities.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please have a look into the attached image from the dependency walker for further clarification.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any work around for this??&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 17:18:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/associative-dimensions-on-custom-entities-not-working-in-autocad/m-p/9480427#M4593</guid>
      <dc:creator>tripathi.navneet18</dc:creator>
      <dc:date>2020-04-29T17:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Associative dimensions on custom entities not working in AutoCAD 2019.</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/associative-dimensions-on-custom-entities-not-working-in-autocad/m-p/9488213#M4594</link>
      <description>&lt;P&gt;acdbEnableDimAssocForEntity function was moved to acdbNN.lib (and acdbNN.dll) in AutoCAD 2018 and since this version you need to use AcDimXNN.dll&lt;/P&gt;
&lt;P&gt;You can easy define it and use without&amp;nbsp; call LoadLibrary and GetProcAddress :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;enum Acad::ErrorStatus __cdecl acdbEnableDimAssocForEntity(class AcRxClass * cls);
enum Acad::ErrorStatus __cdecl acdbDisableDimAssocForEntity(class AcRxClass * cls);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 May 2020 13:36:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/associative-dimensions-on-custom-entities-not-working-in-autocad/m-p/9488213#M4594</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2020-05-03T13:36:15Z</dc:date>
    </item>
  </channel>
</rss>

