几何尺寸与公差论坛

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

【转帖】how to use and setup macros

[复制链接]
发表于 2009-4-12 18:40:34 | 显示全部楼层 |阅读模式
how to use and setup macros
hello all,
i have decided to start using the pdm workgroup option within soildworks to control data management. my issue is that i want to use marcos to help prepare the finished part / assembly drawing from purchasing / production. the way it currently being done is that i (engineer) draw the drawings then save them in pdf(for purchasing&production) and save the part file as a dxf 1:1 scale profile of the sheet metal / plasma part with no dimensions or title blocks for the purshising dept to send to your contracted fabicators.
1. my first question is there a marco out there that with do this for me after i completed the drawing ?.
2. how do i use marcos ?.
3. how do i load them into solidworks 2007 and setup up keyboard shortcut..?
im sorry if i have posted in the wrong topic group or asking question already been answered in previous posts. if anyone could help me , i would be very thankful...
john
john,
attached is a macro to save parts and drawings.parts can be saved as step, iges etc and drawings can be saves as dwg. dxf and jpg.i suggest you save your drawings on different sheets. sheet 1 can be your default and sheet can be without dimensions. when the macro is run while a drawing is open you have the option to choose which sheet you want.if you do a search on this forum you would find a macro that can save as a pdf.alternatively, if you are using pdmworks there is an option to save the file as a pdf when checking into the vault.
to run the macro:
1. save the attached macro to a suitable location.(create a folder called macros).
2. go to options - system options - file locations - under "show folder for" select macros and point to the folder you created called macros.
3. you also need to activate the macro toolbar: view - toolbars - macros.
4. to run the macro : click on the green arrow - a menu would appear - select docexport.
i hope the above is helpful.
feroz mahomed
windows xp professional sp2
sworks 2009 sp2
nvidia quadro fx1500
thanks for the heads up. i give it a go.
thanks, thanks john
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-1-3 09:57 , Processed in 0.035318 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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