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

macro x pdf

  • Thread starter Thread starter BOSCO '71
  • Start date Start date
Hello, is this app downloadable somewhere? I would be very helpful, thank you.
no, it was made by me tailored to my archives; in fact there is no type of configuration possibility is all "hard coded".

you should change it for your needs

Hi.
 
no, it was made by me tailored to my archives; in fact there is no type of configuration possibility is all "hard coded".

you should change it for your needs

Hi.
I would need a mask like yours, which you create me pdf, dwg and stp file, already have the chance to create
pdf and dwg from the draft would be so much, I downloaded version 1.3 but it only creates me the pdf not the dwg, maybe I wrong something, or I have the wrong file.
I don't know anything about macro programming, so I don't trust you to help.
 
Hi, I downloaded v1.3, but when I let it go it only creates the pdf file and not even the dwg and stp, am I wrong? I never cuffed with macros so I don't know if you have to add strings on the code or anything.
is there a complete and functional version already downloadable?
Thank you.
 
I am trying to reorganize my productive flow of 2d and 3d drawings and I am colliding with some problems:
the first can become an option of this fantastic macro and be a small challenge for the gurus of progammation who with this macro have already given us a useful and comfortable command (ps thanks)
would it be possible to transfer to pdf or dxf some custom properties of the solid edge original file?
I better explain: I would use the title fields and object present in the tab file propietà as well as some custom properties. . displaying them in wiindows next to the file name, which is formed by the code only, I find in the folders a description of each file that comes back useful to do research and to open the file that I want even without knowing the code.
this game works perfectly with the native solid edge files but when I carry the pdf, dxf or even in the 3d exchange formats I lose all these additional metadata....if I could transfer the properties of the solid edge file also to the exports I would be very useful. . .
Alternatively, I ask you if you can create a macro to use at the first save a 3d file that nomines by combining the various custom properties according to a code_revision_description rule.par
is this very complicated? I don't understand anything about programming!
 
I had an idea that makes things easier... instead of wanting to fill out the properties of the exported files I could only establish a file name rule for the exported pdf dwg step file by searching the parts of the file name exported from the file properties
Suppose we have a draft called xx00001_1 (which is the drawing number_revision)
I would like that pdf was called code-xx00001_1-description.pdf where code and description are to be fished in the properties of the file... is it feasible? seems like a change similar to adding the img3d suffix in saving the image that is already managed by the macro
 
I am trying to look for material to study to change the macro x pdf to try to have out a pdf filename composed by fishing from the properties of the associated 3d as described in my post above but I find nothing even to understand whether the thing is feasible or not... Does anyone have any plans to give me?
 
for my needs I created a small program of request approval drawings.

you select the documents you want to export (the name is created by concatenating code - revision - version) and created a new email with the zipped files attached and a default text in the object and body.

View attachment 46816
this app be_on _edge does something very similar to what I would like

is posted on the site and you can download it?
 
I found on the community siemens and I attach you a macro that manages to compose the file name of the exported using fields ownership of the file. now I configured it because it compotes the file name of the dxf using the title and object properties fields. it works! but it takes the properties from the dft while I would like it to take them from the 3d as I already do for filling the cartilage. . .
I tried to insert the call %{titolor1} but it doesn't work!
suggestions?
 

Attachments

salva ed esportav.1.4 desktop path, path2d and path3d as general options. script converted from ansi to utf-8
Hi.

I tried the macro, it works wonder.

in the company where we work we write the prefix of the materials within the properties of the file 3d,
if you want to save the pdf by telling the macro to fish me that name as file name as I can do?

thanks 1000 in advance
 
Hi.

I tried the macro, it works wonder.

in the company where we work we write the prefix of the materials within the properties of the file 3d,
if you want to save the pdf by telling the macro to fish me that name as file name as I can do?

thanks 1000 in advance
Hi, if you can customize I give an imbeccata, otherwise I'm sorry but I don't have time.
the basic function is:
Code:
dim propname
Propname = objdoc.properties.item ("custom") .item ("materials"). value
"custom" is the system name for "custom properties"
check with a msgbox(propname) if you go to read correctly what you need.
Hi.
 
Hi, if you can customize I give an imbeccata, otherwise I'm sorry but I don't have time.
the basic function is:
Code:
dim propname
Propname = objdoc.properties.item ("custom") .item ("materials"). value
"custom" is the system name for "custom properties"
check with a msgbox(propname) if you go to read correctly what you need.
Hi.
thank you 1000, I try
 
hi wasp, your macro saves and exports is always very useful... I would however need a straight for export of pdf 3d

I have activated the export also from 3d environment adding also the assembly environment
I set to export in step and parasolid but I would need to generate also pdf3d. the problem is that if I write fullfilepath3dexported = path + "\" + name + "." + "pdf" saves me a normal pdf with an image of the screenshot displayed at the time of the execution of the macro in the habitant 3d of origin... How do I save the pdf3d?
 
hi wasp, your macro saves and exports is always very useful... I would however need a straight for export of pdf 3d

I have activated the export also from 3d environment adding also the assembly environment
I set to export in step and parasolid but I would need to generate also pdf3d. the problem is that if I write fullfilepath3dexported = path + "\" + name + "." + "pdf" saves me a normal pdf with an image of the screenshot displayed at the time of the execution of the macro in the habitant 3d of origin... How do I save the pdf3d?
from the behavior you describe, it seems that you cannot do directly, you should look in the sdk.
They are in forced vacations for covid, so unfortunately I can't help you without cad available. . .
Did you search the internet?
 
I did! !

with this, , true inserted in the call of the save by name pdf


buildfullpath(path)' depends on the variable "abilita_creapercourse"
deletefileifexists(fulfilepath3dexported) ) ' depends on the variable "abilita_deletefileifexists"

call objdoc.saveas( fullfilepath3dexported , , true) ' saves by name, with an extension supported by solidedge
 

Forum statistics

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

Members online

No members online now.
Back
Top