+ Reply to Thread
Results 1 to 2 of 2

Thread: Polyline vs Polycurve

  1. #1

    Polyline vs Polycurve

    I am trying to understand what the difference is between a polyline and polycurve. Obvisouly a polycurve is made up of multiple curves with varying degrees that have been join together and a polyline if multiple lines joined together, but shouldn't a polyline be a specific type of polycurve. Or more specificly shouldn't the IsPolycurve() also return true of a polyline? The reason I asked is I want to something to a multiple line segemented object and I not sure how the user created it where he used the polyline tool or joined multiple lines together. Let say I want to explode them do I have do this:

    Code:
    if rs.IsPolyCurve(GCrv):
        Curves = rs.ExplodeCurves(GCrv)
    if rs.IsPolyCurve(GCrv):
        Curves = rs.ExplodeCurves(GCrv)
    or is there a way do it one shot? Maybe a way to look for multiple segments?

    Thanks

    Dennis

  2. #2
    Actually I think I answered my own question, for what I what I could use the IsCurve() function.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts