Exporting a DXF of a drawing (journal available???)
Exporting a DXF of a drawing (journal available???)
(OP)
A lot of our suppliers ask for DXF's of our drawings, but as far as I'm aware, we are unable to exort an exact copy of a drawing using the DXF option for the obvious reasons of views not being curves etc. So what we do if they ask for a dxf, is export a CGM of the drawing, then in Native NX, we import the CGM and then export a DXF of the CGM curves. This, whilst a viable work around, is a bit of a pain. People have asked if I could create a macro or journal to do this, but I'm no expert on writing code, so I wondered if any of you Journal experts would be able to help?
Have a nice Easter.
Si
Have a nice Easter.
Si
Best regards
Simon NX7.5.4.4 MP5 - TC 8 www.jcb.com





RE: Exporting a DXF of a drawing (journal available???)
Error occurred in CGM export
NX error status: 3555024
journal exiting
Please could someone shed some light on what might be wrong?
Many thanks
Simon.
Best regards
Simon NX7.5.4.4 MP5 - TC 8 www.jcb.com
RE: Exporting a DXF of a drawing (journal available???)
www.nxjournaling.com
RE: Exporting a DXF of a drawing (journal available???)
Sorry about the late reply, I've had a few days vacation. I have tested the journal in Native NX and it does indeed work perfectly. We have access to the blank template in TC NX as well. It would be fantastic if we could get this to work.
Many thanks
Si
Best regards
Simon NX7.5.4.4 MP5 - TC 8 www.jcb.com
RE: Exporting a DXF of a drawing (journal available???)
www.nxjournaling.com
RE: Exporting a DXF of a drawing (journal available???)
Best regards
Simon NX7.5.4.4 MP5 - TC 8 www.jcb.com
RE: Exporting a DXF of a drawing (journal available???)
www.nxjournaling.com
RE: Exporting a DXF of a drawing (journal available???)
RE: Exporting a DXF of a drawing (journal available???)
Thanks for the journal, I couldn't get it to work on my system though, the error I get is "No main found"
Cowski
Where do I look for the line that report the error?
Thanks guys
Si
Best regards
Simon NX7.5.4.4 MP5 - TC 8 www.jcb.com
RE: Exporting a DXF of a drawing (journal available???)
CODE
A huge thank-you to Simon (JCBCad) for helping test the TC version!
CODE
www.nxjournaling.com
RE: Exporting a DXF of a drawing (journal available???)
Huge thank you for all your effort.
Si
Best regards
Simon NX7.5.4.4 MP5 - TC 8 www.jcb.com
RE: Exporting a DXF of a drawing (journal available???)
Sorry for sounding like a noob but I really can't figure how this dedicated file "Const tempTCDXF = "@DB@123/dwg2dxf@A" is done. I'm running NX 7.5 and TC 8.3. Where should this "dedicated file" be located? Is it located on the harddisk or in teamcenter as an item dataset or somewhere else. I would preciate if someone could help me. I´m not that familiar with journals.
Best regards Tobias
RE: Exporting a DXF of a drawing (journal available???)
Br Tobias
RE: Exporting a DXF of a drawing (journal available???)
This extra step is only for those running Teamcenter; a dedicated NX part file (dataset) needs to be created in TC to act as a temporary file during the dxf output process. Anyone/everyone using the journal will need read/write access to this file and it should not be given a release status. The journal exports a cgm file of the drawing you have open, then imports it to this temporary file and finally exports a dxf file from the cgm data that was imported to the temporary file. If you are running native NX, a blank part file is created for this purpose and deleted at the end of the journal. Those running TC understandably did not wish to create a new file for each dxf file export, so we came up with the idea of a dedicated 'transfer' file instead.
www.nxjournaling.com