几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   SolidWorks二次开发 (http://www.dimcax.com/hust/forumdisplay.php?f=111)
-   -   【转帖】oggle onoff welded config sane strings (http://www.dimcax.com/hust/showthread.php?t=5833)

yang686526 2009-04-13 02:59 PM

【转帖】oggle onoff welded config sane strings
 
toggle on/off welded config sane strings
on the general tab of the system options located at the very bottom you'll see
"disable additional weldment configuration description strings".
i tried recording a macro to toggle this setting on/off but it seems that no code is getting recorded. i looked in the api help, but not sure of what command to look-up.
does anyone know what i should be looking for, or has anyone created such a macro.
thanks for your help.
ben conners
lovat inc.
sw 2008 sp 4.0
' checked
swapp.setuserpreferencetoggle swdisableweldmentconfigstrings, true
' unchecked
swapp.setuserpreferencetoggle swdisableweldmentconfigstrings, false
thanks luke.
i did finally manage to find it in the api help yesterday. it took a lot of guess work and looking at other programs to determine what to try and look up in the help.
thanks again.
ben conners
quick


所有的时间均为北京时间。 现在的时间是 05:15 PM.