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

yang686526 2009-04-12 09:50 PM

【转帖】move componen
 
move component
i've been trying to write a vb.net app that will move parts in an assembly as if i was dragging the part. i found several examples in this forum. however, i'm not quite understanding a few things. i seen that in one example where the part is to rotate, the program creates an axis to rotate around. what if i already have an axis? i'm also not fully understanding the mathtransform.
using mates maybe an option, but if i use limit mates i can't seem to just edit and update the current distance. rather the entire interval changes. (both lower and upper limits)
thanks for the help.
add a distance and angle mate and change their values.
deepak gupta
sw2007 sp5.0
sw2009 sp2.1


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