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

yang686526 2009-04-13 09:37 AM

【转帖】change configuration using excel
 
change configuration using excel
my api is very limited so maybe someone can help me out. is there a way to change configurations using api and an excel spreadsheet? i have an excel spreadsheet with column a = part numbers and column b = description of each part number. i would like to be able open a part with configurations already established (configurations names = part numbers) and run a macro that allows me to select from a dropdown list of descriptions from the spreadsheet. when i select ok it changes to that particular configuration. any help would be appreciated.
thanks,
todd
edited: 04/28/2008 at 06:24 am by todd stansbury
well, i found a way to change configurations with just using a macro. does anyone know how to autorun a macro? have it run whenever i open the part file?
thanks,
todd
quick


所有的时间均为北京时间。 现在的时间是 09:54 AM.