• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

macro for copy / paste part open in assembly

  • Thread starter Thread starter ApeGana
  • Start date Start date

ApeGana

Guest
Hello, everyone.

I happen from time to time to have to put in a particular set that for various reasons is already open in itself.

to do so, unless I'm missing something fundamental, there's no other way than to go looking for the file in the Windows Explorer (or in the internal Explorer to if) and then make copy-paste in the assebly (or drag-and-drop).
in practice the fact of having already opened it cannot be exploited, except if necessary to find out where to find it by looking at the properties of the file.

when instead I have to put in a particular set that is already inserted in a second open set, I can easily select it, ctrl-c, ctrl-v, and the game is done!

I would like to write a macro that allows to speed up the first case and make it similar to the second, i.e. copy (in some way) the par (or psm) open, then I put in the foreground the assem and take off the particular.

The problem is I don't know where to start.

the possible approaches that came to my mind are 2:
  1. a unique macro that reads from the part the full path of the file and copies that file in the clipboard of windows, then just do ctrl-v in the assieme
  2. a first macro that reads the path of the open file and copies it into some variable, a second macro that inserts in the open aassembly the particular whose path lies in the such variable
in the first case, in vbs, I couldn't find the way to interact with the windows clipboard; In the second case I don't know what commands to use to put a part in a set.

Can anyone help me? Thank you.
ape
 
in the scan file tab browse folders and select open files, you will see all open files
 
Here, see.... I missed something fundamental!!! :rolleyes:
I never knew of this function; actually the solution was already there and also simple.
The macro is no longer needed!
Thank you.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top