Linetype Scale in CustomGetPoint DynamicDraw() Event

Hello,

I am working on a script that has a custom getpoint function, where the drawing function has a patterned line using the function: “DrawPatternedLine(self: DisplayPipeline, from: Point3d, to: Point3d, color: Color, pattern: int, thickness: int)”

Is there a way to set the linetype scale with this? Thanks.

Hi @dks5254,

No, sorry. Rhino does not have a display pipeline function that will dymaically draw curves with some linetype.

– Dale

1 Like

Hi @dale, could this be implemented in the future? :slight_smile:

Hi @siemen,

I don’t know. The code to calculate the pattern curves is expensive to run, which is why Rhino does not dynamically draw curves with assigned linetypes.

https://mcneel.myjetbrains.com/youtrack/issue/RH-56716

– Dale