Inventor General Discussion

Inventor General Discussion

Reply
Member
3 Posts
0 Kudos
Registered: ‎10-25-2012
Post 1 of 7

Macro/Keyboard Command For Exporting .idw To .dxf

550 Views, 6 Replies
10-26-2012 06:40 AM

Hello everyone,

 

I have keyboard commands set up for exporting my .idw drawings to .pdf format (PD for me.) I would also like to set this up for exporting my drawing to .dxf format. I think this can be done with a macro that can be activated by a keyboard command, but I could be wrong. I don't want to do this with an iLogic. Does anyone else have this written all ready? I have absolutely no experience with script writing and would appreciate any help! Or if anyone has a better suggestion, that would be great as well!

 

~Gary

*Expert Elite*
4,374 Posts
517 Kudos
Registered: ‎04-27-2005
Post 2 of 7

Re: Macro/Keyboard Command For Exporting .idw To .dxf

10-26-2012 06:54 AM in reply to: garmoor

You can snip it out of this. (u will have to extract from zip first).

*Expert Elite*
3,002 Posts
1,708 Kudos
Registered: ‎03-08-2006
Post 3 of 7

Re: Macro/Keyboard Command For Exporting .idw To .dxf

10-26-2012 07:16 AM in reply to: garmoor

Hi garmoor,

 

Iin addtion to karthur1's reply, be aware that there is a customization forum where you can search and post programming related question such as this.

http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/bd-p/120

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com



  solution.png  Did you find this reply helpful ? If so please use the Accept as Solution or  Kudos button below.





Member
3 Posts
0 Kudos
Registered: ‎10-25-2012
Post 4 of 7

Re: Macro/Keyboard Command For Exporting .idw To .dxf

10-26-2012 07:19 AM in reply to: karthur1

I have loaded the ivb file and assigned it a key prompt (DX.) However, when I enter this, nothing appears to happen. Am I doing something wrong?

*Expert Elite*
4,374 Posts
517 Kudos
Registered: ‎04-27-2005
Post 5 of 7

Re: Macro/Keyboard Command For Exporting .idw To .dxf

10-26-2012 07:33 AM in reply to: garmoor

Just wondering... are u doing this so you can export the flat pattern?

Member
3 Posts
0 Kudos
Registered: ‎10-25-2012
Post 6 of 7

Re: Macro/Keyboard Command For Exporting .idw To .dxf

10-26-2012 07:36 AM in reply to: karthur1

No, I need to export the entire drawing (side views and all) into DXF. The line that it's asking me to debug is:

    b = dxfAddIn.HasSaveCopyAsOptions(file, context, map)

*Expert Elite*
4,374 Posts
517 Kudos
Registered: ‎04-27-2005
Post 7 of 7

Re: Macro/Keyboard Command For Exporting .idw To .dxf

10-26-2012 08:00 AM in reply to: garmoor

Not exactly sure why you are getting that error. Hopefully someone else can take a look.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!