<?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: Quick open drawing from part in 3D Part &amp; Assembly Design</title>
    <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/928626#M133316</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I made this mapkey many years ago, not sure if it is still working these days. Try putting it in you config.pro and calling mapkey X.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;mapkey x @MAPKEY_NAMEOpen drawing;@MAPKEY_LABELDrawing;\
mapkey(continued) %&amp;gt;partname; %load;\
mapkey(continued) ~ Command `ProCmdModelOpen` ;\
mapkey(continued) ~ Select `file_open` `Type` 1 `db_4`; %partname;\
mapkey(continued) ~ Command `ProFileSelPushOpen_Standard@context_dlg_open_cmd`;
!!!!!!!!!!!!!!!!!!!!!!!!
mapkey &amp;gt;partname @MAPKEY_NAMEGets partname;\
mapkey(continued) ~ Command `ProCmdModelSaveAs` ;~ Select `file_saveas` `type_option` 1 `db_129`;\
mapkey(continued) ~ Activate `file_saveas` `OK`;~ Activate `UI Message Dialog` `ok`;\
mapkey(continued) @SYSTEMdel sw.pro\ndir /b *.pic&amp;gt;filename.txt\nset /p \
mapkey(continued) VAR1=&amp;lt;filename.txt\ndel filename.txt\nSET FILENAME=\%VAR1:\~0,-4\%\necho mapk\
mapkey(continued) ey partname \~ Input `file_open` `EMBED_BROWSER_SEARCH_IP` `%FILENAME%`\\
mapkey(continued) ;&amp;gt;&amp;gt;sw.pro\ndel *.pic;
!!!!!!!!!!!!!!!!!!!!!!!!
mapkey load @MAPKEY_NAMEload mapkey;\
mapkey(continued) ~ Command `ProCmdRibbonOptionsDlg` ;\
mapkey(continued) ~ Select `ribbon_options_dialog` `PageSwitcherPageList` 1 `ConfigLayout`;\
mapkey(continued) ~ Select `ribbon_options_dialog` `ConfigLayout.ImportExportBtn`;\
mapkey(continued) ~ Activate `ribbon_options_dialog` `ConfigLayout.Open`;\
mapkey(continued) ~ Activate `file_open` `Current Dir`;\
mapkey(continued) ~ Activate `file_open` `Ph_list.Filelist` 1 `sw.pro`;\
mapkey(continued) ~ Update `file_open` `Inputname` `sw.pro`;~ Activate `file_open` `Inputname`;\
mapkey(continued) ~ Activate `ribbon_options_dialog` `OkPshBtn`; @SYSTEMDel sw.pro;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2024 00:12:58 GMT</pubDate>
    <dc:creator>Jose_Costa</dc:creator>
    <dc:date>2024-02-08T00:12:58Z</dc:date>
    <item>
      <title>Quick open drawing from part</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/928587#M133312</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;-Creo 9 with Windchill.&lt;/P&gt;&lt;P&gt;I'm looking to create a mapkey to quickly open a drawing of a room that's already open.&lt;/P&gt;&lt;P&gt;I've done a lot of research and i can never find a working solution. please don't redirect me to an alternative solution.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I know that a part can have several drawings or be included in other drawings. However, in my case, 90% of the parts created have only one drawing, which has exactly the same name as the part, with .drw instead of .prt.&lt;BR /&gt;I've created a relationship: DRAWING = PART_ID+ ".DRW".&lt;BR /&gt;I now have a parameter with the right value.&lt;BR /&gt;Since copy and paste doesn't work in mapkey commands, is there a line of OS script code that you could put in a mapkey to say, open "parametre drawing"?&lt;BR /&gt;I work in a company that doesn't allow third-party applications to be installed.&lt;/P&gt;&lt;P&gt;Thank in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 17:09:08 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/928587#M133312</guid>
      <dc:creator>BH_10112168</dc:creator>
      <dc:date>2024-02-07T17:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Quick open drawing from part</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/928626#M133316</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I made this mapkey many years ago, not sure if it is still working these days. Try putting it in you config.pro and calling mapkey X.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;mapkey x @MAPKEY_NAMEOpen drawing;@MAPKEY_LABELDrawing;\
mapkey(continued) %&amp;gt;partname; %load;\
mapkey(continued) ~ Command `ProCmdModelOpen` ;\
mapkey(continued) ~ Select `file_open` `Type` 1 `db_4`; %partname;\
mapkey(continued) ~ Command `ProFileSelPushOpen_Standard@context_dlg_open_cmd`;
!!!!!!!!!!!!!!!!!!!!!!!!
mapkey &amp;gt;partname @MAPKEY_NAMEGets partname;\
mapkey(continued) ~ Command `ProCmdModelSaveAs` ;~ Select `file_saveas` `type_option` 1 `db_129`;\
mapkey(continued) ~ Activate `file_saveas` `OK`;~ Activate `UI Message Dialog` `ok`;\
mapkey(continued) @SYSTEMdel sw.pro\ndir /b *.pic&amp;gt;filename.txt\nset /p \
mapkey(continued) VAR1=&amp;lt;filename.txt\ndel filename.txt\nSET FILENAME=\%VAR1:\~0,-4\%\necho mapk\
mapkey(continued) ey partname \~ Input `file_open` `EMBED_BROWSER_SEARCH_IP` `%FILENAME%`\\
mapkey(continued) ;&amp;gt;&amp;gt;sw.pro\ndel *.pic;
!!!!!!!!!!!!!!!!!!!!!!!!
mapkey load @MAPKEY_NAMEload mapkey;\
mapkey(continued) ~ Command `ProCmdRibbonOptionsDlg` ;\
mapkey(continued) ~ Select `ribbon_options_dialog` `PageSwitcherPageList` 1 `ConfigLayout`;\
mapkey(continued) ~ Select `ribbon_options_dialog` `ConfigLayout.ImportExportBtn`;\
mapkey(continued) ~ Activate `ribbon_options_dialog` `ConfigLayout.Open`;\
mapkey(continued) ~ Activate `file_open` `Current Dir`;\
mapkey(continued) ~ Activate `file_open` `Ph_list.Filelist` 1 `sw.pro`;\
mapkey(continued) ~ Update `file_open` `Inputname` `sw.pro`;~ Activate `file_open` `Inputname`;\
mapkey(continued) ~ Activate `ribbon_options_dialog` `OkPshBtn`; @SYSTEMDel sw.pro;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 00:12:58 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/928626#M133316</guid>
      <dc:creator>Jose_Costa</dc:creator>
      <dc:date>2024-02-08T00:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Quick open drawing from part</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/928684#M133317</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;OP uses&amp;nbsp;&lt;SPAN&gt;Creo 9 with Windchill. Therefore I am curious where&amp;nbsp;&lt;STRONG&gt;partname.pic&lt;/STRONG&gt; will be saved by your mapkey. Maybe it will be necessary to modify the mapkey a little bit to save&amp;nbsp;&lt;STRONG&gt;partname.pic &lt;/STRONG&gt;into specific directory.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 07:33:52 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/928684#M133317</guid>
      <dc:creator>MartinHanak</dc:creator>
      <dc:date>2024-02-08T07:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Quick open drawing from part</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/928698#M133318</link>
      <description>&lt;P&gt;Yes, you are correct. I don´t use Windchill and all this is done on working directory.&lt;/P&gt;&lt;P&gt;Maybe someone windchill can tweak the mapkey a little to meet the requirements?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 08:25:17 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/928698#M133318</guid>
      <dc:creator>Jose_Costa</dc:creator>
      <dc:date>2024-02-08T08:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Quick open drawing from part</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/929213#M133369</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Creo with Windchill, you could use this &lt;A href="https://community.ptc.com/t5/System-Administration/Mapkey-Writing-Editing-Tips/m-p/604214#M24810" target="_blank" rel="noopener"&gt;lhoogeveen's mapkey&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works in creo8, I hope it will work also in Creo9...&lt;/P&gt;</description>
      <pubDate>Sat, 10 Feb 2024 22:04:23 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/929213#M133369</guid>
      <dc:creator>Trebla</dc:creator>
      <dc:date>2024-02-10T22:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Quick open drawing from part</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/938131#M133999</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/167779"&gt;@Trebla&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume you're referring to this one?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;mapkey odrw&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;@MAPKEY_NAMEOpen drawing with same name as active model or selected assembly part;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) @MAPKEY_LABELOpen Drawing w/ Same Name (odrw);\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Command `ProCmdOpenModel@PopupMenuGraphicWinStack`;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Activate `open_instance` `open`;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) %&amp;gt;storetmpfile;%&amp;gt;partnameopen;%&amp;gt;loadconf;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Command `ProCmdModelOpen`;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Activate `file_open` `workspace_pb`;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) %partnameopen;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Activate `file_open` `Inputname`;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How does this mapkeys work?&lt;BR /&gt;When I try to create one in Creo, I am limited by the number of characters I can enter in the OS script tab.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BH_10112168_0-1710940017938.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/100544iEF07FE79052CDBE2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BH_10112168_0-1710940017938.png" alt="BH_10112168_0-1710940017938.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is probably not the right way to do it.&lt;BR /&gt;Can you help?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 13:08:03 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/938131#M133999</guid>
      <dc:creator>BH_10112168</dc:creator>
      <dc:date>2024-03-20T13:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Quick open drawing from part</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/938570#M134027</link>
      <description>&lt;P&gt;Hi BH,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes this is the mapkey, but it is a nested mapkey, so you need also: &lt;EM&gt;storetmpfile&lt;/EM&gt; mapkey, &lt;EM&gt;partnameopen&lt;/EM&gt; mapkey, &lt;EM&gt;loadconf&lt;/EM&gt; mapkey...&lt;/P&gt;&lt;P&gt;If you take only a piece, it will never work.&lt;/P&gt;&lt;P&gt;sorry I do not know the tricks about OS mapkeys , I can tell you that this one works fine:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;mapkey odrw&lt;/STRONG&gt; @MAPKEY_NAMEOpen drawing with same name as active model or selected assembly part;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) @MAPKEY_LABELOpen Drawing w/ Same Name (odrw);\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Command `ProCmdOpenModel@PopupMenuGraphicWinStack`;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Activate `open_instance` `open`;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) %&amp;gt;storetmpfile;%&amp;gt;partnameopen;%&amp;gt;loadconf;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Command `ProCmdModelOpen`;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Activate `file_open` `workspace_pb`;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) %partnameopen;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Activate `file_open` `Inputname`;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;!======================&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;mapkey &amp;gt;storetmpfile&lt;/STRONG&gt; @@MAPKEY_LABELStore model name to temp file;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Command `ProCmdModelSaveAs` ;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) #CURRENT VALS;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Activate `storage_conflicts` `Close_PushButton`;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Select `file_saveas` `type_option` 1 `db_129`;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Activate `file_saveas` `check_is_secondary` 0;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Activate `file_saveas` `Current Dir`;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Activate `file_saveas` `OK`;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Activate `UI Message Dialog` `ok`;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;mapkey &amp;gt;partnameopen&lt;/STRONG&gt; @MAPKEY_LABELGets partname to open drawing;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) @SYSTEMdel sw.pro\n\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) dir /b *.pic&amp;gt;\%temp\%\\filename.txt\n\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) set /p VAR1=&amp;lt;\%temp\%\\filename.txt\n\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) del \%temp\%\\filename.txt\n\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) set FILENAME=\%VAR1:\~0,-4\%\n\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) echo mapkey partnameopen \~ Update `file_open` \&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) `Inputname` `\%FILENAME\%.drw`\;&amp;gt;&amp;gt;sw.pro\n\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) del *.pic;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;mapkey &amp;gt;partnamenew&lt;/STRONG&gt; @MAPKEY_LABELGets partname for new part;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) @SYSTEMdel sw.pro\n\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) dir /b *.pic&amp;gt;\%temp\%\\filename.txt\n\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) set /p VAR1=&amp;lt;\%temp\%\\filename.txt\n\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) del \%temp\%\\filename.txt\n\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) set FILENAME=\%VAR1:\~0,-4\%\n\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) echo mapkey partnamenew \~ Input `new` \&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) `InputPanel1` `\%FILENAME\%`\;&amp;gt;&amp;gt;sw.pro\n\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) del *.pic;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;mapkey &amp;gt;loadconf&lt;/STRONG&gt; @MAPKEY_LABELLoad mapkey into session;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Command `ProCmdRibbonOptionsDlg`;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Select `ribbon_options_dialog` `PageSwitcherPageList` 1 `ConfigLayout`;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Activate `ribbon_options_dialog` `ConfigLayout.Open`;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Activate `file_open` `Current Dir`;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Update `file_open` `Inputname` `sw.pro`;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Command `ProFileSelPushOpen@context_dlg_open_cmd`;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Activate `ribbon_options_dialog` `OkPshBtn`;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) ~ Activate `UITools Msg Dialog Future` `no`;\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mapkey(continued) @SYSTEMDel sw.pro;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;!======================&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 19:15:24 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/938570#M134027</guid>
      <dc:creator>Trebla</dc:creator>
      <dc:date>2024-03-21T19:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Quick open drawing from part</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/1008373#M139195</link>
      <description>&lt;P&gt;Commenting on here, since Creo 11 does not support mapkey loading as it used to, so the &amp;gt;loadconf mapkey fails. I've updated the script to work again and renamed to "dw" since it is easier to type it with one hand on the keyboard:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;mapkey dw @MAPKEY_NAMEOpen drawing with same name as active model or selected assembly part;\&lt;BR /&gt;mapkey(continued) @MAPKEY_LABELOpen Drawing w/ Same Name (dw);\&lt;BR /&gt;mapkey(continued) ~ Command `ProCmdOpenModel@PopupMenuGraphicWinStack`;\&lt;BR /&gt;mapkey(continued) ~ Activate `open_instance` `open`;\&lt;BR /&gt;mapkey(continued) %&amp;gt;storetmpfile;%&amp;gt;partnameopen;%&amp;gt;loadconf;\&lt;BR /&gt;mapkey(continued) ~ Command `ProCmdModelOpen`;\&lt;BR /&gt;mapkey(continued) ~ Activate `file_open` `workspace_pb`;\&lt;BR /&gt;mapkey(continued) %partnameopen;\&lt;BR /&gt;mapkey(continued) ~ Command `ProFileSelPushOpen_Standard@context_dlg_open_cmd`;&lt;BR /&gt;&lt;BR /&gt;!====================== Background mapkeys used by other&amp;nbsp;mapkey dw&lt;BR /&gt;mapkey &amp;gt;storetmpfile @MAPKEY_LABELStore model name to temp file;\&lt;BR /&gt;mapkey(continued) ~ Command `ProCmdModelSaveAs` ;\&lt;BR /&gt;mapkey(continued) #CURRENT VALS;\&lt;BR /&gt;mapkey(continued) ~ Activate `storage_conflicts` `Close_PushButton`;\&lt;BR /&gt;mapkey(continued) ~ Select `file_saveas` `type_option` 1 `db_129`;\&lt;BR /&gt;mapkey(continued) ~ Activate `file_saveas` `check_is_secondary` 0;\&lt;BR /&gt;mapkey(continued) ~ Activate `file_saveas` `Current Dir`;\&lt;BR /&gt;mapkey(continued) ~ Activate `file_saveas` `OK`;\&lt;BR /&gt;mapkey(continued) ~ Activate `UI Message Dialog` `ok`;&lt;BR /&gt;&lt;BR /&gt;mapkey &amp;gt;partnameopen @MAPKEY_LABELGets partname to open drawing;\&lt;BR /&gt;mapkey(continued) @SYSTEMdel sw.pro\n\&lt;BR /&gt;mapkey(continued) dir /b *.pic&amp;gt;\%temp\%\\filename.txt\n\&lt;BR /&gt;mapkey(continued) set /p VAR1=&amp;lt;\%temp\%\\filename.txt\n\&lt;BR /&gt;mapkey(continued) del \%temp\%\\filename.txt\n\&lt;BR /&gt;mapkey(continued) set FILENAME=\%VAR1:\~0,-4\%\n\&lt;BR /&gt;mapkey(continued) echo mapkey partnameopen \~ Update `file_open` \&lt;BR /&gt;mapkey(continued) `Inputname` `\%FILENAME\%.drw`\;&amp;gt;&amp;gt;sw.pro\n\&lt;BR /&gt;mapkey(continued) del *.pic;&lt;BR /&gt;&lt;BR /&gt;mapkey &amp;gt;loadconf @MAPKEY_LABELLoad mapkey into session ~ Update `main_dlg_cur` `search_panel_pholder.search_panel_input_panel` `mapk`;\&lt;BR /&gt;mapkey(continued) ~ Trigger `search_panel_list_of_main_dlg_cur` `search_panel_list` `` `commands_group`;\&lt;BR /&gt;mapkey(continued) ~ Trigger `search_panel_list_of_main_dlg_cur` `search_panel_list` `ProCmdUtilMacros`;\&lt;BR /&gt;mapkey(continued) ~ Select `search_panel_list_of_main_dlg_cur` `search_panel_list` 1 `ProCmdUtilMacros`;\&lt;BR /&gt;mapkey(continued) ~ Command `ProCmdUtilMacros` ;\&lt;BR /&gt;mapkey(continued) ~ Trigger `search_panel_list_of_main_dlg_cur` `search_panel_list` ``;\&lt;BR /&gt;mapkey(continued) ~ Select `mapkey_main` `ImpExpCascButton`;\&lt;BR /&gt;mapkey(continued) ~ Close `mapkey_main` `ImpExpCascButton`;\&lt;BR /&gt;mapkey(continued) ~ Activate `mapkey_main` `psh_import`;\&lt;BR /&gt;mapkey(continued) ~ Activate `file_open` `Current Dir`;\&lt;BR /&gt;mapkey(continued) ~ Select `file_open` `Ph_list.Filelist` 1 `sw.pro`;\&lt;BR /&gt;mapkey(continued) ~ Activate `file_open` `Ph_list.Filelist` 1 `sw.pro`;\&lt;BR /&gt;mapkey(continued) ~ Activate `mapkey_main` `CloseButton`;\&lt;BR /&gt;mapkey(continued) ~ FocusIn `unsaved_mapkeys` `yes`;\&lt;BR /&gt;mapkey(continued) ~ Activate `unsaved_mapkeys` `yes`;\&lt;BR /&gt;mapkey(continued) @SYSTEMDel sw.pro;&lt;BR /&gt;!======================&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 18:34:08 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/1008373#M139195</guid>
      <dc:creator>TC_9543675</dc:creator>
      <dc:date>2025-04-02T18:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Quick open drawing from part</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/1015356#M139766</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;We noticed a bit of a problem with this old mapkey trick if Creo is connected to Windchill and automatic number generation is on. It uses Save As dialog to get the current part filename, &lt;STRONG&gt;so every time the mapkey is used, it wastes one number from the sequence.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;I modified the &amp;gt;storetmpfile and &amp;gt;partnameopen mapkeys to use parameter export instead:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;mapkey &amp;gt;storetmpfile @MAPKEY_LABELStore model name to temp file;\
@SYSTEMdel *_par.txt\n;\
~ Command `ProCmdMmParams` ;\
~ Activate `relation_dlg` `PBExportTXT`;\
~ Activate `file_open` `Current Dir`;\
~ Command `ProFileSelPushOpen@context_dlg_open_cmd` ;\
~ Activate `relation_dlg` `PB_Cancel`;

mapkey &amp;gt;partnameopen @MAPKEY_LABELGets partname to open drawing;\
@SYSTEMdel sw.pro\n\
dir /b *_par.txt&amp;gt;\%temp\%\\filename.txt\n\
set /p VAR1=&amp;lt;\%temp\%\\filename.txt\n\
del \%temp\%\\filename.txt\n\
set FILENAME=\%VAR1:\~0,-8\%\n\
echo mapkey partnameopen \~ Update `file_open` \
`Inputname` `\%FILENAME\%.drw`\;&amp;gt;&amp;gt;sw.pro\n\
del *_par.txt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Otherwise the combined mapkey should work as before, so you can just replace these two mapkeys regardless of whether you use the "old" mapkeys or the Creo 11 compatible one made by&amp;nbsp;TC_9543675 (catchy name btw).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be nice if PTC created a proper way to open a related drawing &lt;STRONG&gt;LIKE EVERY OTHER CAD IN EXISTENCE&lt;/STRONG&gt; so we wouldn't have to keep using this 20 year old hack.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And yes, I know that you can have multiple drawings of one model, but then you could have a dialog listing those drawings and ask the user which one they want to open.&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 05:22:57 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/1015356#M139766</guid>
      <dc:creator>N-Pyn</dc:creator>
      <dc:date>2025-05-14T05:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Quick open drawing from part</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/1039352#M141618</link>
      <description>&lt;P&gt;When I use this I get the error "Cannot find ~0,-8.drw."&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know where to solve this?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 08:26:42 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/1039352#M141618</guid>
      <dc:creator>RobertH</dc:creator>
      <dc:date>2025-10-21T08:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Quick open drawing from part</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/1039356#M141619</link>
      <description>&lt;P&gt;You probably don't have a drawing with a filename that matches with the model's filename in Windchill or in you search paths. The filenames need to match 1:1 except for the file extension (.PRT/.ASM/.DRW).&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 08:32:17 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/1039356#M141619</guid>
      <dc:creator>N-Pyn</dc:creator>
      <dc:date>2025-10-21T08:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Quick open drawing from part</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/1039369#M141620</link>
      <description>&lt;P&gt;When I tested it I had open a model that has a drawing with the exact same name..&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 09:44:27 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Quick-open-drawing-from-part/m-p/1039369#M141620</guid>
      <dc:creator>RobertH</dc:creator>
      <dc:date>2025-10-21T09:44:27Z</dc:date>
    </item>
  </channel>
</rss>

