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

yang686526 2009-04-13 02:47 PM

【转帖】sw vba question
 
sw vba question
hi all ...
probably its very simpel, but i just don't get it ..

how can i check if part "a" is already inserted in an assembly ??

grtz
hi,
just go to assembly tree, right click on any part say "goto" type the part number. if u get the part its ok or else insert it.
just check it once..............it may help u
regards,
sri
yes, but i want to check it in vba, not in my assembly-tree.
so, do you have some vba code for it ..

thnx in advanced
i've seen this, but not used it. perhaps you can get some ideas from it. let me know if this helps


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