Skip to main content
1-Visitor
January 7, 2015
Solved

Creo 2.0 - Open a drawing from active part?

  • January 7, 2015
  • 2 replies
  • 24294 views

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 . .

Best answer by MartinHanak

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

2 replies

24-Ruby III
January 7, 2015

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

dhanley1-VisitorAuthor
1-Visitor
January 7, 2015

That would be great, yes!

Oh and what would I do with an AutoIt file?

24-Ruby III
January 7, 2015

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

1-Visitor
June 12, 2017

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