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

yang686526 2009-04-12 11:02 PM

【转帖】and so how does one move a componen
 
and so how does one move a component?
translatecomponent obviously does not work... at least it requires user input.
bob,
i think you'll want to use the transform property of the component. the transform sets the component's position, rotation, etc. i haven't used them a lot, so i can't get you any sweet examples of how to use them, but i'm pretty sure that's what you need.
dale
dale slotman
koops inc
sw premium 09 sp 2.0 x64
pdmworks workgroup
winxp x64 sp2
nvidia quadro fx 3500
quick


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