×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How to create mapkey - is it possible?

How to create mapkey - is it possible?

How to create mapkey - is it possible?

(OP)
Hi,
I want to create mapkey, which will open the drawings related to part(the same name).
For example, I have an active workspace "aaa", including the workspace I have a lot of files .prt , .drw. .asm.
I open the file .prt (for example F0001.prt), now wants to open a file .drw (F0001.drw), in this moment I must to click open, and I have to look for a file F0001.drw, it is annoying and takes a long time.
How to create mapkey, which opened to all .drw with the same name as the .prt which at the moment I opened, it is possible?
 

RE: How to create mapkey - is it possible?

You could open the drawing first. The part is then shown in the model tree. You can then select/right mouse click/OPEN that part. You won't need to search for it in your workspace this way.

RE: How to create mapkey - is it possible?

(OP)
Yes, you're right, it is good if you just open the ".prt" files, them I can open the drawing first etc.
But when I am working with a large ".asm" and change something in parts, then open. prt of the tree. asm, because it is simpler and faster, and then must look for .drw files.

I tried to do something like this:
########################################################
mapkey open ~ Select `main_dlg_cur` `MenuBar1`1  `File`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Activate `main_dlg_cur` `File.psh_rename`;~ Activate `rename` `Cancel`;\
mapkey(continued) ~ Activate `main_dlg_cur` `ProCmdModelOpen.file`;\
mapkey(continued) ~ Input `file_open` `Inputname` `0001`;\
mapkey(continued) ~ Update `file_open` `Inputname` `0001*.drw`;\
mapkey(continued) ~ Activate `file_open` `Inputname`;
#########################################################
I click FILE->RENAME (copy Name) ->CANCEL
FILE->OPEN->paste Name (the name which I previously copied)
and add *.drw
This works, but still opens the same drawings 0001stdbend.drw .
Maybe someone knows how to make paste, always name active. prt?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources