几何尺寸与公差论坛

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

【转帖】custom export options

[复制链接]
发表于 2009-4-13 10:07:50 | 显示全部楼层 |阅读模式
custom export options
we have an exporter for solidworks using "addfilesaveasitem2". it's working fine, but i was wondering if it is possible to create a custom page for the "export options" dialog. this would let the user set options for our add-in exporter the same way that he sets options for exporting to parasolid or other file formats.
you could use sldworks.setuserpreference. there are different types of settings. for example, if the dialog box has a check box, it would be sldworks.setuserpreferencetoggle swxtassemsaveformat, true would check the "flatten assembly hierarchy" box on the parasolids export options.
wayne matus
texas engineering systems
ok, that will set the export options for the solidworks supported formats, but can i create a dialog for our custom (qsm) format? i would like to have a "qsm" tab on the export options dialog when the add-in is enabled.
you will not be able to modify the solidworks supplied "export options" dialog box, but you can create your own, including the options that solidworks has on theirs.
wayne matus
texas engineering systems
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-24 03:16 , Processed in 0.036441 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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