<?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 How to use program command under model intent in assembly?  Is there any tutorial for that? in 3D Part &amp; Assembly Design</title>
    <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/How-to-use-program-command-under-model-intent-in-assembly-Is/m-p/120133#M3670</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="111456" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/111456_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2018 03:37:55 GMT</pubDate>
    <dc:creator>vgvk</dc:creator>
    <dc:date>2018-05-03T03:37:55Z</dc:date>
    <item>
      <title>How to use program command under model intent in assembly?  Is there any tutorial for that?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/How-to-use-program-command-under-model-intent-in-assembly-Is/m-p/120133#M3670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="111456" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/111456_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 03:37:55 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/How-to-use-program-command-under-model-intent-in-assembly-Is/m-p/120133#M3670</guid>
      <dc:creator>vgvk</dc:creator>
      <dc:date>2018-05-03T03:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to use program command under model intent in assembly?  Is there any tutorial for that?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/How-to-use-program-command-under-model-intent-in-assembly-Is/m-p/120134#M3671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.ptc.com/u1/328537"&gt;Toby Metcalf&lt;/A&gt; might want to move this to the correct forum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=930o_03tlGo" title="https://www.youtube.com/watch?v=930o_03tlGo"&gt;PTC Pro/Program Webinar - YouTube &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a Pro Program is edited the information will come from the file the first time. The editor will create a copy of the file program as-is for backup purposes. After that it will ask "From Model' or From File." If the last time turned out poorly, then 'From File' is your best choice. &lt;/P&gt;&lt;P&gt;When a program is run: &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Current Vals will run unaided; &lt;/LI&gt;&lt;LI&gt;Enter will show the choices to change and then prompt you to change the selected ones; &lt;/LI&gt;&lt;LI&gt;Read File will get the values from a file you select. &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp; Any values in the program and not in the file are unchanged, any values in the file and not in the program are ignored.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Example file entries - one per line; case-sensitive &lt;BR /&gt;THICKNESS = 2.5 &lt;BR /&gt;INCLUDE_VALVE = YES &lt;BR /&gt;MATERIAL = "STEEL" &lt;/P&gt;&lt;P class="icon_edit_section"&gt;&lt;/P&gt;&lt;H3 class="showhide_heading"&gt;Comments&lt;/H3&gt;&lt;P&gt;/* &amp;lt; your comment &lt;BR /&gt;Place the comment immediately after an ADD to keep its place with the feature. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H3 class="showhide_heading"&gt;Input&lt;/H3&gt;&lt;P&gt;Types: &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Number (default) &lt;/LI&gt;&lt;LI&gt;String &lt;/LI&gt;&lt;LI&gt;Yes_No. &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Must exist between INPUT and END INPUT. &lt;BR /&gt;Can use IF-ELSE-ENDIF &lt;/P&gt;&lt;P class="icon_edit_section"&gt;&lt;/P&gt;&lt;H3 class="showhide_heading"&gt;IF-ELSE-ENDIF&lt;/H3&gt;&lt;P&gt;logical operations are &amp;gt;,&amp;lt;, ==; string literals are in quotes. &lt;/P&gt;&lt;P class="icon_edit_section"&gt;&lt;/P&gt;&lt;H3 class="showhide_heading"&gt;Component Replacement&lt;/H3&gt;&lt;P&gt;Get the name of the replacement from INPUT or via RELATIONS &lt;/P&gt;&lt;P&gt;Change the ADD PART to ADD PART (replacement) for part to part exchange &lt;BR /&gt;or &lt;BR /&gt;Change the ADD COMPONENT(replacement) for part to subassy exchange. &lt;BR /&gt;"COMPONENT" requires file extension, PART does not. &lt;/P&gt;&lt;P class="icon_edit_section"&gt;&lt;/P&gt;&lt;H3 class="showhide_heading"&gt;Relations&lt;/H3&gt;&lt;P&gt;&lt;BR /&gt;Must be between RELATIONS and END RELATIONS &lt;/P&gt;&lt;P&gt;XYZ = &amp;lt;parameter_name&amp;gt;:fid_&amp;lt;feature_name&amp;gt;:&amp;lt;comp_id&amp;gt; &lt;BR /&gt;or &lt;BR /&gt;XYZ = &amp;lt;parameter_name&amp;gt;:fid_&amp;lt;N&amp;gt;:&amp;lt;comp_id&amp;gt; &lt;/P&gt;&lt;P class="icon_edit_section"&gt;&lt;/P&gt;&lt;H3 class="showhide_heading"&gt;Family table based replacement&lt;/H3&gt;&lt;P&gt;The format for lookup_inst is: &lt;/P&gt;&lt;P&gt;lookup_inst ("generic_name", match_mode, param_name_1, match_value_1, param_name_2, match_value_2,...) &lt;/P&gt;&lt;P&gt;where: &lt;/P&gt;&lt;P&gt;generic name—Name of the generic model with a .prt or .asm extension &lt;/P&gt;&lt;P&gt;match_mode—One of the following values: &lt;/P&gt;&lt;P&gt;–1 (find closest instance with param values less than or equal to supplied values) &lt;/P&gt;&lt;P&gt;0 (find instance with param values that match supplied values exactly) &lt;/P&gt;&lt;P&gt;1 (find closest instance with param values greater than or equal to supplied values) &lt;/P&gt;&lt;P&gt;param_name_1—Family table parameter name &lt;/P&gt;&lt;P&gt;match_value_1—Value to match against &lt;/P&gt;&lt;P class="icon_edit_section"&gt;&lt;/P&gt;&lt;H3 class="showhide_heading"&gt;User-Defined Features&lt;/H3&gt;&lt;P&gt;CHOOSE (&amp;lt;ID&amp;gt;) &lt;/P&gt;&lt;P&gt;All the available IDs can be found in the ADD statement of the leader of the currently active group in the Program listing &lt;/P&gt;&lt;P&gt;To use a CHOOSE statement, you must first manually replace a family table instance of the group or replace the group with another group. &lt;/P&gt;&lt;P&gt;CHOOSE statements cannot be included in conditional statements. &lt;/P&gt;&lt;P class="icon_edit_section"&gt;&lt;/P&gt;&lt;H3 class="showhide_heading"&gt;EXECUTE&lt;/H3&gt;&lt;P&gt;Replaces the ADD end END ADD &lt;/P&gt;&lt;P&gt;This is for assemblies to link assy input variables to program variables in assembly components. &lt;/P&gt;&lt;P&gt;EXECUTE {PART}/{ASSY } name or variable &lt;/P&gt;&lt;P&gt;input variable of design at next lower level = expression &lt;/P&gt;&lt;P&gt;input variable..... &lt;/P&gt;&lt;P&gt;END EXECUTE &lt;/P&gt;&lt;P&gt;Only reaches one level, but that level can domino to the next. &lt;/P&gt;&lt;P&gt;Can be used with IF-ELSE-ENDIF &lt;/P&gt;&lt;P class="icon_edit_section"&gt;&lt;/P&gt;&lt;H3 class="showhide_heading"&gt;MASSPROP&lt;/H3&gt;&lt;P&gt;MASSPROP &lt;BR /&gt;IF THICKNESS &amp;gt; 1 &lt;BR /&gt;PART PLATE &lt;BR /&gt;ELSE &lt;BR /&gt;ASSEMBLY BLOCK &lt;BR /&gt;ENDIF &lt;BR /&gt;END MASSPROP &lt;/P&gt;&lt;P class="icon_edit_section"&gt;&lt;/P&gt;&lt;H3 class="showhide_heading"&gt;INTERACT&lt;/H3&gt;&lt;P&gt;Can be inserted anywhere within the FEATURE ADD - END ADD or PART ADD - END ADD statement &lt;/P&gt;&lt;P&gt;Stops program execution and uses FEAT CLASS menu to allow additional work to be done on the model. &lt;/P&gt;&lt;P class="icon_edit_section"&gt;&lt;/P&gt;&lt;H3 class="showhide_heading"&gt;ADD, ADD SUPPRESSED&lt;/H3&gt;&lt;P class="icon_edit_section"&gt;&lt;/P&gt;&lt;H3 class="showhide_heading"&gt;MODIFY - changes dimensions&lt;/H3&gt;&lt;P&gt;MODIFY d# = value &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 20:57:56 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/How-to-use-program-command-under-model-intent-in-assembly-Is/m-p/120134#M3671</guid>
      <dc:creator>dschenken</dc:creator>
      <dc:date>2017-02-02T20:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to use program command under model intent in assembly?  Is there any tutorial for that?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/How-to-use-program-command-under-model-intent-in-assembly-Is/m-p/120135#M3672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks David - moving to Creo.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Toby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 21:35:42 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/How-to-use-program-command-under-model-intent-in-assembly-Is/m-p/120135#M3672</guid>
      <dc:creator>Tmetcalf</dc:creator>
      <dc:date>2017-02-02T21:35:42Z</dc:date>
    </item>
  </channel>
</rss>

