几何尺寸与公差论坛------致力于产品几何量公差标准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 find the direction of a sketch segment 9clockwise or counter- clockwise0 (http://www.dimcax.com/hust/showthread.php?t=4759)

yang686526 2009-04-12 09:16 PM

【转帖】how to find the direction of a sketch segment 9clockwise or counter- clockwise0
 
how to find the direction of a sketch segment (clockwise or counter- clockwise).
is there is any option in solidworks api, to find sketch segments direction, (clockwise or counter- clockwise)
my issue is,
there is several sketch segments (linear sketch lines only) in a drawing sheet, the sketch segments are drawn by user (unknown)
if i select a sketch segment, i want to know the direction of each segment,
is there is any option like -1 or 1 to know the direction, or how to find the direction ((clockwise or counter- clockwise).
thanx,
anand.r
quick


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