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

esportare un dxf con una macro e 2d exchange

  • Thread starter Thread starter checco03
  • Start date Start date

checco03

Guest
with nx 5.0.6.3 I am performing some tests to export a dxf.

I have some problems including: you do not export the symbolic texts of the cartiglio and the scale of the hidden lines is too big. I also can't make a macro to automatically export.

If I use 2d exchange the symbolic texts there are however I ask for help for the other two problems. :mixed:

ps: It seems that with nx6 you can register a macro to export the dxf but I haven't installed it yet.
 
Hello

Sorry I didn't answer first.
export to dxf or dwg is our black beast
I'm usually exporting through the 2d exchange as nx2d, so I get a new file with the table untied by the template file.
after which I carry the latter in dwg/dxf

to speed up the first phase of 2dexchange I confiscate the file ...\nx 6.0\ugto2d\ugto2d.def
with the names of the files to be treated, so as soon as I launch the program does everything to him and then I just have to export to dxf all files at once.

an alternative would be to export to cgm, import into an empty file and export to dxf.

for the speech size lines and relative scale I think there is a file that sets the matches ug/acad, but I do not remember at the time where it is place.

Let me know.
 
Thank you.

ps: if someone has made a macro that performs all the aforementioned operations it would be very welcome.
 
for the speech size lines and relative scale I think there is a file that sets the matches ug/acad, but I do not remember at the time where it is place.
I have seen that there are parameters to manage the line scale but in the guide you do not understand where to put these parameters:

export: “uf_obj_font_centerline” = “center”.05

Here it would take the good beppe...:frown:
 
Hello

Sorry I didn't answer first.
export to dxf or dwg is our black beast
I'm usually exporting through the 2d exchange as nx2d, so I get a new file with the table untied by the template file.
after which I carry the latter in dwg/dxf

to speed up the first phase of 2dexchange I confiscate the file ...\nx 6.0\ugto2d\ugto2d.def
with the names of the files to be treated, so as soon as I launch the program does everything to him and then I just have to export to dxf all files at once.

an alternative would be to export to cgm, import into an empty file and export to dxf.

for the speech size lines and relative scale I think there is a file that sets the matches ug/acad, but I do not remember at the time where it is place.

Let me know.
I talked to the American assistance that sent me the parameter to put in the ugto2d.def file to scale the lines of the dxf. instead I can't launch the 2d exchange program (ugto2d.exe) from inside nx5 with a script to generate the nx 2d file to convert then to dxf why abortisce?!?

If you have a script that works maybe I try it/thank you.
 
I do not use export internally, but launch the standalone program (the one with black screen ) .
to speed up or better, automate the operation on many files, move a copy of files to be converted to a directory that I created specially and configuro the ugto2d.def file in the following fields:
input_parts_dir = c:\conversions\output_parts_dir = c:\conversioni\out\input_parts_list = 09047a12_0d.prt, 09047a13_0d.prt, 09047a14_0d.prtoutput_parts_list = 09047a12_0d.prt, 09047a13_0d.prt, 09047a14_0d.prt
This way when the black screen starts, I don't have to do anything.
at the end I directly take the files from the \out directory and eliminate the remaining .
 
I thank you for the clarifications, so it works from me too. instead if the files reside in tc abortisce: in this case the help says that you have to refer to the file via @dbitem/rev. Yet if I launch the command from the menu it works and it is clearly seen that it converts the file to tc and not the one to video (while it asks to save it) but you do not see all the parameters that it uses for the call only the file call with the @dbitem/rev parameter.
 
Good morning to all,
I have a problem with a customer using nx 5 in importing dxf exported from pro/e wf3, type change fonts and thick lines.. .
I tried to open the exported dxf with autocad and thinkdesign and does not give any problem, so I exclude that the fault is of pro-e settings.
do you have any advice to give the customer on any config to check?

Thank you very much.
 
Good morning to all,
I have a problem with a customer using nx 5 in importing dxf exported from pro/e wf3, type change fonts and thick lines.. .
I tried to open the exported dxf with autocad and thinkdesign and does not give any problem, so I exclude that the fault is of pro-e settings.
do you have any advice to give the customer on any config to check?

Thank you very much.
as you have seen the dxf for nx is a bad beast in export, figure in import!:biggrin:
to my requests to ugs (at that time), to report the fact that the import did a little .... they answered me: but why import a dxf in ug?
Here, this is the question you have to ask the customer: what does dxf have to do with it?
If you just need to print it and store it from a cgm that in import is a fairy tale. if you have to use it for other purposes rewrite in the forum that maybe some pious soul answers you.

bye:
 
if use is printing and storage just a .pdf
it is not so simple...in the sense that with a good imported dxf you can perform some subsequent modification, otherwise the customer should always rely on us as a consultancy study to change the drawings made, not having the same cad, so you searched the middle way...the problem reported is: the type of character varies, it is no longer the original one, and therefore the heights of the texts are changed, especially of those composed with tolerances and particular characters, and not recognized,

Any other ideas?

Thank you.
 
if use is printing and storage just a .pdf
It is not so simple...in the sense that with a good imported dxf you can perform some subsequent modification, otherwise the customer should always rely on us as a consultancy study to change the drawings made, not having the same cad, so you searched the middle way. . .
pure madness:eek: , go to change a dxf to not go to change the model (direct model or synchronous nx controls has them and work well). a middle way could be that you do the 3d, pass them to the customer in step format and he if you quota them and do his beautiful 2d, when he needs a change, strira, wheel, size glue and the game is made.
:finger:
 

Forum statistics

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

Members online

No members online now.
Back
Top