几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】how to locate a model entity in the space of a drawing view (http://www.dimcax.com/hust/showthread.php?t=4771)

yang686526 2009-04-12 09:21 PM

【转帖】how to locate a model entity in the space of a drawing view
 
how to locate a model entity in the space of a drawing view
hi
i want to locate point(x,y,z of model) in the space of drawing view(x,y).
can anyone have macro for this.
hi
i have created one macro for getting x,y coordinates w.r.t sheet of a sketchpoint in a view.i am getting right results in model view(e.g.*front)
but it is giving wrong results for projected views.
can anyone help me in this regard.
for macro preconditions are
1) drawing view is active
2) sketchpoint is selected
thanks in advance
regards
anil ghotekar
solidworks2008(sp 4.0)
quick


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