Skip to main content
Jan 7, 2015 3:17 PM UTC
Solved

Creo 2.0 - Open a drawing from active part?

Has anybody managed some sort of shortcut/mapkey for this yet? I'm taking about quickly opening a drawing of same name when the model is on screen, the way you can open a model by right clicking in the drawings model tree . .

Jan 7, 2015 4:02 PM UTC

Daryl,

my script was tested in D:\PTC\Open_Model_Drawing_AutoIt directory, if it is possible, create the same path on your disk. If you decide to use different path, then you have to change the path inside my macro.

  1. save open_drawing_cr2.exe into D:\PTC\Open_Model_Drawing_AutoIt
  2. open my config.pro and copy the line into your config.pro (you can see the above mentioned path inside the mapkey)
  3. restart Creo 2.0
  4. open part
  5. typ dd to run my macro

Martin Hanak

33 replies

Jan 7, 2015 3:46 PM UTC

Daryl,

some time ago I created AutoIt script with requested functionality. It can be used in English version of Creo Parametric 2.0.

This script works when you follow these rules:

  1. model name = drawing name
  2. drawing file is saved in current working directory -OR- in the directory specified in SEARCH_PATH option

If you are in the same "situation", then I can upload my script.

Martin Hanak

dhanleyAuthor
Jan 7, 2015 3:49 PM UTC

That would be great, yes!

Oh and what would I do with an AutoIt file?

Jan 7, 2015 4:02 PM UTC

Daryl,

my script was tested in D:\PTC\Open_Model_Drawing_AutoIt directory, if it is possible, create the same path on your disk. If you decide to use different path, then you have to change the path inside my macro.

  1. save open_drawing_cr2.exe into D:\PTC\Open_Model_Drawing_AutoIt
  2. open my config.pro and copy the line into your config.pro (you can see the above mentioned path inside the mapkey)
  3. restart Creo 2.0
  4. open part
  5. typ dd to run my macro

Martin Hanak

Jun 12, 2017 12:28 PM UTC

Hi,

I have a question for this ? Can I use it with Windchill 10.2 ?

I understand that it work with local or network drives, but we would like to use it on Windchill workspace.

Can we do it ?

Thanks

Sandor Papik