Lintypes - where is the pattern information stored?


#1

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


(Dale Fugier) #2

Linetypes are hard-coded in the Rhino core.


(Steve Baer) #3

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


#4

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