<?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: Mapkey for reading an input.txt from a specific directory for the regeneration of the model? in 3D Part &amp; Assembly Design</title>
    <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Mapkey-for-reading-an-input-txt-from-a-specific-directory-for/m-p/355406#M71693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or just simply click on the regenerate icon and you will have the menu with:&lt;/P&gt;&lt;P&gt;Current Values (the one stored in the model at the moment you clicked on the"regenerate" button)&lt;/P&gt;&lt;P&gt;Enter (which will show the available parameter of which value you can enter from the keyboard)&lt;/P&gt;&lt;P&gt;Read File (which reads these values for the model's parameter from a text file. You will have inside the text file lines with the names of your parameter and the values something like&lt;/P&gt;&lt;P&gt;Param1 = 1 (if Param1 was defined as "number")&lt;/P&gt;&lt;P&gt;Param2 = "String value" (if Param2 was defined as a "string")&lt;/P&gt;&lt;P&gt;Param3 = Yes (if param3 was defined as a "Yes_No" value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 May 2017 10:05:00 GMT</pubDate>
    <dc:creator>nalexandru</dc:creator>
    <dc:date>2017-05-12T10:05:00Z</dc:date>
    <item>
      <title>Mapkey for reading an input.txt from a specific directory for the regeneration of the model?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Mapkey-for-reading-an-input-txt-from-a-specific-directory-for/m-p/355401#M71688</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Is it possible to make a Mapkey so it reads an input.txt file (with value of my models parameters) to use it in the "Read File" regeneration option? The file is in a very specific directory, I does not move and has a fixed name (input.txt)&lt;/P&gt;
&lt;P&gt;Nic.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 15:27:32 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Mapkey-for-reading-an-input-txt-from-a-specific-directory-for/m-p/355401#M71688</guid>
      <dc:creator>nalexandru</dc:creator>
      <dc:date>2018-12-12T15:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Mapkey for reading an input.txt from a specific directory for the regeneration of the model?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Mapkey-for-reading-an-input-txt-from-a-specific-directory-for/m-p/355402#M71689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First step is to create a part (or assembly) with one or more INPUT parameters. That will make the "Read File" available when you regenerate your part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then just record a new mapkey, click on Edit --&amp;gt; Regenerate --&amp;gt; Read File --&amp;gt; Enter the full filename&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will look something like this (I have named the mapkey qq)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mapkey qq @MAPKEY_NAMEqq;@MAPKEY_LABELqq;~ Command `ProCmdRegenPart`;\&lt;/P&gt;&lt;P&gt;mapkey(continued) #READ FILE;c:\temp\input.txt;\&lt;/P&gt;&lt;P&gt;mapkey(continued) ~ Activate `main_dlg_cur` `main_dlg_cur`;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 05:26:00 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Mapkey-for-reading-an-input-txt-from-a-specific-directory-for/m-p/355402#M71689</guid>
      <dc:creator>HamsterNL</dc:creator>
      <dc:date>2017-05-12T05:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Mapkey for reading an input.txt from a specific directory for the regeneration of the model?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Mapkey-for-reading-an-input-txt-from-a-specific-directory-for/m-p/355403#M71690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;aaaaaahhhhh... thank you!!! So that was the trick!! Put the whole path to the file!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again!&lt;/P&gt;&lt;P&gt;Nic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 07:45:30 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Mapkey-for-reading-an-input-txt-from-a-specific-directory-for/m-p/355403#M71690</guid>
      <dc:creator>nalexandru</dc:creator>
      <dc:date>2017-05-12T07:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Mapkey for reading an input.txt from a specific directory for the regeneration of the model?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Mapkey-for-reading-an-input-txt-from-a-specific-directory-for/m-p/355404#M71691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please elaborate this a bit? This "read file" option when regeneration sounds interesting but I can't follow what's happening here.&lt;/P&gt;&lt;P&gt;You wrote "click on edit--&amp;gt;regerenate" - Edit where? In the ribbon - Model - Operations - Regeneration there is no option for "read file", and neither is in Parameters - Edit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 09:46:49 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Mapkey-for-reading-an-input-txt-from-a-specific-directory-for/m-p/355404#M71691</guid>
      <dc:creator>creodential</dc:creator>
      <dc:date>2017-05-12T09:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Mapkey for reading an input.txt from a specific directory for the regeneration of the model?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Mapkey-for-reading-an-input-txt-from-a-specific-directory-for/m-p/355405#M71692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"&lt;SPAN style="color: #3d3d3d; font-family: ff-din-web, Arial, sans-serif; font-size: 15px;"&gt;First step is to create a part (or assembly) with one or more INPUT parameters"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: ff-din-web, Arial, sans-serif; font-size: 15px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: ff-din-web, Arial, sans-serif; font-size: 15px;"&gt;Does your part/assembly have any INPUT parameters? If so, then the "Read File" option will become available.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: ff-din-web, Arial, sans-serif; font-size: 15px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: ff-din-web, Arial, sans-serif; font-size: 15px;"&gt;I'm still on WildFire 4.0, so that's why I refer to "Edit" --&amp;gt; "Regenerate"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: ff-din-web, Arial, sans-serif; font-size: 15px;"&gt;For Creo 4, that should look something like "Model" --&amp;gt; "Regenerate"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: ff-din-web, Arial, sans-serif; font-size: 15px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: ff-din-web, Arial, sans-serif; font-size: 15px;"&gt;Yes, still on WF4, you've read that right &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 09:57:42 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Mapkey-for-reading-an-input-txt-from-a-specific-directory-for/m-p/355405#M71692</guid>
      <dc:creator>HamsterNL</dc:creator>
      <dc:date>2017-05-12T09:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Mapkey for reading an input.txt from a specific directory for the regeneration of the model?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Mapkey-for-reading-an-input-txt-from-a-specific-directory-for/m-p/355406#M71693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or just simply click on the regenerate icon and you will have the menu with:&lt;/P&gt;&lt;P&gt;Current Values (the one stored in the model at the moment you clicked on the"regenerate" button)&lt;/P&gt;&lt;P&gt;Enter (which will show the available parameter of which value you can enter from the keyboard)&lt;/P&gt;&lt;P&gt;Read File (which reads these values for the model's parameter from a text file. You will have inside the text file lines with the names of your parameter and the values something like&lt;/P&gt;&lt;P&gt;Param1 = 1 (if Param1 was defined as "number")&lt;/P&gt;&lt;P&gt;Param2 = "String value" (if Param2 was defined as a "string")&lt;/P&gt;&lt;P&gt;Param3 = Yes (if param3 was defined as a "Yes_No" value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 10:05:00 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Mapkey-for-reading-an-input-txt-from-a-specific-directory-for/m-p/355406#M71693</guid>
      <dc:creator>nalexandru</dc:creator>
      <dc:date>2017-05-12T10:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Mapkey for reading an input.txt from a specific directory for the regeneration of the model?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Mapkey-for-reading-an-input-txt-from-a-specific-directory-for/m-p/355407#M71695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"&lt;SPAN style="color: #3d3d3d; font-family: ff-din-web, Arial, sans-serif; font-size: 15px;"&gt;First step is to create a part (or assembly) with one or more INPUT parameters"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Yeah, you already lost me there. What is an input parameter? Our models have parameters, some are pdm driven, some are relation driven, some are to be changed manually. Type can be Real, Integer, String, Yes/no. But INPUT? I can think of that only in drawings, when a model parameter, required by the frame via template, is not present. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 10:34:45 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Mapkey-for-reading-an-input-txt-from-a-specific-directory-for/m-p/355407#M71695</guid>
      <dc:creator>creodential</dc:creator>
      <dc:date>2017-05-12T10:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Mapkey for reading an input.txt from a specific directory for the regeneration of the model?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Mapkey-for-reading-an-input-txt-from-a-specific-directory-for/m-p/355408#M71696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to look at this post&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.ptcusercommunity.com/thread/143463"&gt;Drawing Program User Guide, Tutorial and Hands-On Workshop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which was created primarily for&lt;/P&gt;&lt;P&gt;Drawing Program which is DIFFERENT from Pro/PROGRAM&lt;/P&gt;&lt;P&gt;but you will find very useful links for start using Pro?PROGRAM, including a Hands-on workshop (with that I started to familiarise with Pro/Program).&lt;/P&gt;&lt;P&gt;Nic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 10:54:47 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Mapkey-for-reading-an-input-txt-from-a-specific-directory-for/m-p/355408#M71696</guid>
      <dc:creator>nalexandru</dc:creator>
      <dc:date>2017-05-12T10:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Mapkey for reading an input.txt from a specific directory for the regeneration of the model?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Mapkey-for-reading-an-input-txt-from-a-specific-directory-for/m-p/355409#M71698</link>
      <description>&lt;P&gt;See the attachment (cilinder_example.zip) of this post &lt;A href="https://community.ptc.com/t5/3D-Part-Assembly-Design/How-do-you-drive-a-Creo-Parametric-Part-prt-parameters/m-p/356337#474748" target="_blank"&gt;Re: How do you drive a Creo Parametric Part (.prt)... - PTC Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 20:07:15 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Mapkey-for-reading-an-input-txt-from-a-specific-directory-for/m-p/355409#M71698</guid>
      <dc:creator>HamsterNL</dc:creator>
      <dc:date>2021-03-11T20:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Mapkey for reading an input.txt from a specific directory for the regeneration of the model?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Mapkey-for-reading-an-input-txt-from-a-specific-directory-for/m-p/355410#M71700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, thanks to both of you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 14:34:19 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Mapkey-for-reading-an-input-txt-from-a-specific-directory-for/m-p/355410#M71700</guid>
      <dc:creator>creodential</dc:creator>
      <dc:date>2017-05-12T14:34:19Z</dc:date>
    </item>
  </channel>
</rss>

