4 Replies Latest reply on Apr 23, 2014 9:55 AM by Drew Adams

    Tangent arcs freak out when preceding line is too small... Is there any way to prevent this?

    Drew Adams

      Hi Everyone,


      I'm pretty new to the API still, but I'm working on a macro that builds a sketch and creates a thin extrude based on selections made in a user form.  The sketch is just line segments and tangent arcs, and I have gotten pretty far, but I have one line segment that represents a component that has a .118" thickness, and whenever that combination of line segment to tangent arc arises, the Tangent arc reverses direction and the sketch has problems. 


      However, if i enter a larger value for that segment, say 1 inch, instead, everything builds as intended.


      Any Ideas?  I've tried the add to DB as well. 

       

      I've attached the .swp file in case anyone feels like taking a look.

       

      The selection in question is the "T2J" component in the horizontal list box.  

       

       

      Also,

       

      How can I use an API call to dimension the overall arc length?

       

      I can add a radial dimension, but can't seem to figure out how to dimension to overall length of the arc.

       

      That would potentially fix this, I think....

       

       

       

       

       

       

      Sorry it's a mess and that I have so many questions! I'm still very new to this.

       

      -Drew