几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】propertyeditorglobal by leonard kikstra (http://www.dimcax.com/hust/showthread.php?t=5654)

yang686526 2009-04-13 01:43 PM

【转帖】propertyeditorglobal by leonard kikstra
 
propertyeditorglobal by leonard kikstra
i have no api knowledge..
basically i want to use this macro to do 2 things.
#1 add new properties to existing parts.
#2 rename properties of existing parts while keeping the old value/text expression.
1st time would involve adding new properties to the old parts (tested and it works good)
2nd time around involve renaming all the old existing properties name which are all lowercase to uppercase at the same time keeping the original values (test it on test parts, result in deletion of all properties to be renamed)
see attached jpeg...
i've also included a link to dl the macros
first, have you contacted leonard directly? he is a great resource for api, particularly his own works.
matt lorono
solidworks 2007 sp3.1
cad engineer/ecn analyst
there is no rename for custom properties. you will need to add new property w/ new name and delete old one.
quick


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