几何尺寸与公差论坛

 找回密码
 注册
查看: 587|回复: 0

【转帖】exporting certain pages to certain file types

[复制链接]
发表于 2009-4-13 10:49:50 | 显示全部楼层 |阅读模式
exporting certain pages to certain file types
i've written up a macro to create a pdf, dxf, and e-drawing file for my active drawing. it's not the most efficient but it's my first foray into vb programming so bear with me/it.
currently the macro:
1) generates a pdf of all the sheets in the drawing
2) generates an e-drawing of all the sheets in the drawing
3) jumps to the last sheet of the drawing, generates a dxf of that sheet, and then jumps back to the first sheet of the drawing and ends
4) all files are saved in the source file folder
what i'd like to add/modify in the macro is:
1) export just the sheet named "dxf" to the dxf file format if it exists
2) export all sheets except the sheet named "dxf" to pdf format
3) export all sheets except the sheet named "dxf" to e-drawing format
4) close the document after the files are created. do not dismiss any "save" pop-ups, let the user decide.
i know it's asking for a bunch of help but at my current skill level and pace it would take me a while to figure this out.
thanks for any/all help. i've attached my macro below.
-jody
mechanical engineer
temptronic corp
.temptronic.com
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-24 02:40 , Processed in 0.034161 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表