Lintypes - where is the pattern information stored?

I can find pretty much all of the info needed to construct a particular linetype from the document linetype table - EXCEPT the length of the segments… Where is that info stored? Any way to access it?

Thanks, --Mitch

Linetypes are hard-coded in the Rhino core.

There is a GetSegment function which you can use to get the lengths

http://4.rhino3d.com/5/rhinocommon/html/M_Rhino_DocObjects_Linetype_GetSegment.htm

Ah, cool, I scanned over that, but because it said “information” (Gets the segment information at a index. ) I didn’t realize that the length would be in there. I think I can do what I need now, thanks Steve…

–Mitch