<?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: Importing Reference Model from Macro in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/importing-reference-model-from-macro/m-p/8053040#M21201</link>
    <description>&lt;P&gt;Very cool. thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jun 2018 12:12:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-06-07T12:12:53Z</dc:date>
    <item>
      <title>Importing Reference Model from Macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/importing-reference-model-from-macro/m-p/8049983#M21196</link>
      <description>&lt;P&gt;Greetings All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having some troubles Importing a Reference Model in PowerMill 2019 from Macro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Macro Line used is Below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IMPORT REFERENCE_SURFACES "C:\Current Jobs\Shop Fixtures and 3R\3Rmadilla_Ref_model2.dgk"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also used it with no success in the Command Window.&lt;/P&gt;&lt;P&gt;The program responds "Error Reading Model, Translator Error"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However if I simply import it from the menu FILE/IMPORT/MODEL then I have no difficulty.&lt;/P&gt;&lt;P&gt;If I use the macro command to import an earlier version of this file I have no difficulties.&lt;/P&gt;&lt;P&gt;How do I go about tracking down this problem?&lt;/P&gt;&lt;P&gt;I have run File Doctor on the problematic model... no errors reported.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Joe7&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 10:02:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/importing-reference-model-from-macro/m-p/8049983#M21196</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-06T10:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Reference Model from Macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/importing-reference-model-from-macro/m-p/8049996#M21197</link>
      <description>&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;STRING Filename = ''&lt;BR /&gt;$Filename = FILESELECT "Please select a model file" "*.dgk" "C:\Current Jobs\Shop Fixtures and 3R\."&lt;BR /&gt;IMPORT REFERENCE_SURFACES $Filename&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 10:10:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/importing-reference-model-from-macro/m-p/8049996#M21197</guid>
      <dc:creator>design</dc:creator>
      <dc:date>2018-06-06T10:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Reference Model from Macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/importing-reference-model-from-macro/m-p/8050283#M21198</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp; Hmmn...Very interesting. Why does it work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to load three reference models and then toggle them visible/hidden during macro progress depending on user selection options.&lt;/P&gt;&lt;P&gt;Is it possible to do the above without user input?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 12:22:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/importing-reference-model-from-macro/m-p/8050283#M21198</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-06T12:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Reference Model from Macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/importing-reference-model-from-macro/m-p/8050544#M21199</link>
      <description>&lt;P&gt;Well it seems all my troubles were not actually errors in the file in so much as Errors in my macro that seems to&lt;/P&gt;&lt;P&gt;have discombobulated PowerMill.&amp;nbsp; So after a few restarts, and a reboot for good measure... I switched to triangles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IMPORT REFERENCE_SURFACES "C:\Current Jobs\Shop Fixtures and 3R\3Rmadilla_triangles3.dmt"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I guess my goal of hiding versions of 3 reference models will not be possible... so they will need to be loaded in on demand.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 14:02:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/importing-reference-model-from-macro/m-p/8050544#M21199</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-06T14:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Reference Model from Macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/importing-reference-model-from-macro/m-p/8052624#M21200</link>
      <description>&lt;P&gt;something like that:&lt;/P&gt;&lt;P&gt;STRING Filename = ""&lt;BR /&gt;$Filename = FILESELECT "Please select a model file" "*.dgk" "C:\Current Jobs\Shop Fixtures and 3R\."&lt;BR /&gt;IMPORT REFERENCE_SURFACES&lt;BR /&gt;$Filename&lt;BR /&gt;&lt;BR /&gt;bool carryon = 0&lt;/P&gt;&lt;P&gt;string yesnoprompt = "Do you want to blank some models?"&lt;BR /&gt;$carryon = query $yesnoprompt&lt;BR /&gt;IF $carryon == 1 {&lt;BR /&gt;&lt;BR /&gt;STRING $Model_name = ""&lt;BR /&gt;$Model_name = INPUT ENTITY MODEL "Please select that model you want to blank."&lt;BR /&gt;&lt;BR /&gt;EDIT MODEL $Model_name SELECT ALL&lt;BR /&gt;BLANK SELECTED&lt;BR /&gt;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or:&lt;/P&gt;&lt;P&gt;You can make levels for your models.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bool carryon = 0&lt;/P&gt;&lt;P&gt;string yesnoprompt = "Do you want to make some levels for your models?"&lt;BR /&gt;$carryon = query $yesnoprompt&lt;BR /&gt;IF $carryon == 1 {&lt;BR /&gt;&lt;BR /&gt;STRING $Model_name = ""&lt;BR /&gt;$Model_name = INPUT ENTITY MODEL "Please select that model you want to blank."&lt;BR /&gt;&lt;BR /&gt;REAL levelname= INPUT "Rename level"&lt;BR /&gt;EDIT MODEL $Model_name SELECT ALL&lt;BR /&gt;CREATE LEVEL ; LEVEL&lt;BR /&gt;RENAME Level ; $levelname&lt;BR /&gt;&lt;BR /&gt;EDIT LEVEL ; ACQUIRE SELECTED&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have not tested it....&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 08:51:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/importing-reference-model-from-macro/m-p/8052624#M21200</guid>
      <dc:creator>LasseFred</dc:creator>
      <dc:date>2018-06-07T08:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Reference Model from Macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/importing-reference-model-from-macro/m-p/8053040#M21201</link>
      <description>&lt;P&gt;Very cool. thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 12:12:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/importing-reference-model-from-macro/m-p/8053040#M21201</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-07T12:12:53Z</dc:date>
    </item>
  </channel>
</rss>

