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

macro to save dxf dwg and pdf in folder

  • Thread starter Thread starter crisbeta28
  • Start date Start date

crisbeta28

Guest
Bye to all,

I would like to create a macro in creo 4.0 so that I can save in pdf dxf and dwg format in a folder on the desktop that has the name of the file and next to it including the description of the component.
I managed to create a type macro (see attachment)
how do I change the macro to succeed in performing the procedure as described?
 

Attachments

  • i.zip
    i.zip
    407 bytes · Views: 20
Hi.
you cannot, the macro in creo is not "intelligent" and therefore cannot be programmed.
so nn can give it dynamic values like name and description.
nb maybe they implemented vba as other cad 3d.
 
thanks to the answer, and if I wanted to replicate the copy-paste command from macro, is there a special command?
I would like to make a copy of the name of a model from ns. management and being able to open it from macro automatically, is it possible?
 
try to record the copy/path and see what it records .. but if you have to take information from a management nn know if it works correctly.
 
I tried with the paste copy, but the macro inserts the pasted name at the time when I registered it, does not paste the text that at that specific moment I went to copy. I don't know if I explained, I don't know how to get around the problem.
 
I tried with the paste copy, but the macro inserts the pasted name at the time when I registered it, does not paste the text that at that specific moment I went to copy. I don't know if I explained, I don't know how to get around the problem.
You can look at autoit.

It's a scripting language that allows you to automate everything in windows.

example, after copying your code you could launch a special script that recognizes the creo window, open the file-open menu, press ctrl+v.

what you ask is done with a few lines.

But remember that it will not be as solid as an internal macro (e.g. if ptc changes title to the creo window you will need to change the script)

see you, autoit is a very interesting world and for a basic use it does not matter to be programmers (but a little bit 'slender yes)
 

Forum statistics

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

Members online

No members online now.
Back
Top