<?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: Proxy graphics in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/proxy-graphics/m-p/7590385#M7302</link>
    <description>I just tested using the polysamp sample and when I do a save I see AsdkPoly::subWorldDraw() being called with the AcGiWorldDraw::regenType() returning kAcGiSaveWorldDrawForProxy.&lt;BR /&gt;&lt;BR /&gt;Do you have the PROXYGRAPHICS sysvar set to 1 so that proxygraphics will be saved?  The default is 1.</description>
    <pubDate>Fri, 01 Dec 2017 21:55:30 GMT</pubDate>
    <dc:creator>artc2</dc:creator>
    <dc:date>2017-12-01T21:55:30Z</dc:date>
    <item>
      <title>Proxy graphics</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/proxy-graphics/m-p/7585497#M7299</link>
      <description>&lt;P&gt;Good morning all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can&amp;nbsp;anyone tell me when&amp;nbsp;the proxy graphics are generated for custom entities? I have a custom entity that isn't rendering correctly when the DBX is not loaded. All physical dimensions of my custom entity are stored in imperial units (inches)&amp;nbsp;and scaled in worldDraw when the active drawing is in metric units (mm). Everything looks correct when the DBX is loaded but some sub-entities which are represented by text objects are not showing correctly in the proxy objects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My initial thought was to check the regenType() == kAcGiSaveWorldDrawForProxy in the worldDraw(...) but this doesn't seem to ever get hit (breakpoint).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 12:59:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/proxy-graphics/m-p/7585497#M7299</guid>
      <dc:creator>tech</dc:creator>
      <dc:date>2017-11-30T12:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy graphics</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/proxy-graphics/m-p/7585976#M7300</link>
      <description>To get the entity's proxy graphics we call the entity's saveAs method.  The default implementation for the saveAs method is to call the entity's worldDraw method.  If you've overridden the saveAs method, then that could be why you aren't seeing your worldDraw method called.</description>
      <pubDate>Thu, 30 Nov 2017 15:11:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/proxy-graphics/m-p/7585976#M7300</guid>
      <dc:creator>artc2</dc:creator>
      <dc:date>2017-11-30T15:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy graphics</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/proxy-graphics/m-p/7588898#M7301</link>
      <description>&lt;P&gt;Thanks for the reply artc2. I do not override the saveAs(...) in any of my custom entities. The worldDraw(...) probably does get fired when saving the drawing, the issue is that if I put the check for the regenType() == kAcGiSaveWorldDrawForProxy, this never seems to be true which is what I expect when generating the proxy graphics. Am I not understanding something correctly here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 13:22:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/proxy-graphics/m-p/7588898#M7301</guid>
      <dc:creator>tech</dc:creator>
      <dc:date>2017-12-01T13:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy graphics</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/proxy-graphics/m-p/7590385#M7302</link>
      <description>I just tested using the polysamp sample and when I do a save I see AsdkPoly::subWorldDraw() being called with the AcGiWorldDraw::regenType() returning kAcGiSaveWorldDrawForProxy.&lt;BR /&gt;&lt;BR /&gt;Do you have the PROXYGRAPHICS sysvar set to 1 so that proxygraphics will be saved?  The default is 1.</description>
      <pubDate>Fri, 01 Dec 2017 21:55:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/proxy-graphics/m-p/7590385#M7302</guid>
      <dc:creator>artc2</dc:creator>
      <dc:date>2017-12-01T21:55:30Z</dc:date>
    </item>
  </channel>
</rss>

