Measure length of visible portion of drawing curve

Measure length of visible portion of drawing curve

Eric.Mathews120
Contributor Contributor
516 Views
3 Replies
Message 1 of 4

Measure length of visible portion of drawing curve

Eric.Mathews120
Contributor
Contributor

In a drawing, how can I obtain the length of the visible portion of a drawing view curve? I've got one partial circular curve behind another (on a different face). They both intersect in the same range box. However; I'd like to know which curve is complete and which is partial. Is this possible?

0 Likes
517 Views
3 Replies
Replies (3)
Message 2 of 4

WCrihfield
Mentor
Mentor

Hi @Eric.Mathews120.  It's a little difficult to picture the exact situation you are referring to, and what you need.  Could you maybe post some screen captured images of what that area of the drawing looks like, and what that same area looks like in the model, maybe an an angle, so we can better understand the situation.  I also don't understand your statement "They both intersect in the same range box."  Can you please elaborate further on the meaning here.  How do you need the two different drawing arcs/circles to be identified uniquely, or what do you expect the end result/outcome to look like (highlight/select/label one vs other???)).

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 3 of 4

Eric.Mathews120
Contributor
Contributor

Here are the details you asked for. Look at the beam from "Top" or "Bottom" and you'll see exactly what I'm talking about. In the screen capture, I only want the full circle and not the partial circle. The problem is; when collecting circular curves, they both are found. They both are the same diameter and therefore; the 2d evaluator returns mainly identical values. There are some functions in the 2d evaluator that I believe should work however, it's difficult to tell because the help files don't really expound on how to use them. Other than that there are no distinguishing properties with in the curve object. 

0 Likes
Message 4 of 4

WCrihfield
Mentor
Mentor

Puzzling and potentially irritating issue indeed.  I created a single view drawing of this part, as a top view to test on.  I was thinking you should be able to check the DrawingCurve.CurveType or DrawingCurve.ProjectedCurveType property's value (from CurveTypeEnum & Curve2dTypeEnum) to see if it is a 'kCircleCurve' or a 'kCircularArcCurve' (or 2d equivalent).  It seems to me like the one on top would be kCircleCurve (or 2d equivalent) because all of it is visible, while the one below it would be a kCircularArcCurve (or 2d equivalent), because only part of it is visible in the drawing view, which it seems to me would make it an incomplete circle.  This was not the case though.

 

I also checked the curve length of each one, and they all had the same value, therefore it doesn't seem to distinguish between which one is fully visible and complete, versus the one behind that is only partially visible, even though the view is not showing any hidden lines or anything.  So I still don't have a viable solution yet.

Just curious...why is this needed?

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes