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

yang686526 2009-04-12 09:47 PM

【转帖】mirroring a sketch
 
mirroring a sketch
do anybody know how the modeldoc2.sketchmirror method works? i have built a macro that successfully selects all the sketch entities i want to mirror and sets the mirror line, but that's it!. i cannot for the life of me find out how to execute the mirror and collapse the mirror propert manager page that pops up when sketchmirror is called and i am tearing my hair out. what i want i suppose is the api equivalent of clicking on the green tick, but how do i do that. now this function has been around since adam was a lad, so somebody must know how the thing works - please put me right.
many thanks
robert
robert luck
production engineer ~ cam programmer
quick


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