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

yang686526 2009-04-12 10:14 PM

【转帖】replace components via api
 
replace components via api
how do i replace compnents via api?
i am using pdmworks - i can find all assemblies using a given part
i want to replace parta with partb
is see this example - but it requires a selected component
how can i select a component in an assembly if i know its name?
= swassy.replacecomponents(sfilename, "", true, true)
looks like nice job for solidworks document manager -> replace references.
you can find example in api help
edited: 03/10/2009 at 06:17 pm by ivana kolin
quick


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