algorithmic modeling for Rhino


the last two days the pop up control window of kangaroo 1 crashes rhino.

popup comes normally after double click, but even for simple simulations, when play is pressed everything becomes unresponsive, no canvas, sliders etc access. Rhino either has to be right click close program or crashes with the following log file.

System::Windows::Forms::Application::ThreadException event occured

SENDER: System.Threading.Thread

EXCEPTION: System.ComponentModel.Win32Exception
MESSAGE: Error creating window handle.
SOURCE: System.Windows.Forms
   at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
   at System.Windows.Forms.Control.CreateHandle()
   at System.Windows.Forms.Control.get_Handle()
   at System.Windows.Forms.VisualStyles.VisualStyleRenderer.DrawParentBackground(IDeviceContext dc, Rectangle bounds, Control childControl)
   at System.Windows.Forms.ButtonRenderer.DrawParentBackground(Graphics g, Rectangle bounds, Control childControl)
   at System.Windows.Forms.ButtonInternal.ButtonStandardAdapter.PaintThemedButtonBackground(PaintEventArgs e, Rectangle bounds, Boolean up)
   at System.Windows.Forms.ButtonInternal.ButtonStandardAdapter.PaintWorker(PaintEventArgs e, Boolean up, CheckState state)
   at System.Windows.Forms.ButtonBase.OnPaint(PaintEventArgs pevent)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

more or less i think this error describes what happens with the controls pop up window. 

but why it happens? i cant recall any recent changes to my system.

Does anyone have any ideas what is happening, or have come across the same problem?

thank you.



Views: 226

Replies to This Discussion

oh i installed visual studio 2015 ten days ago. i hope this is not it.

I went component by component through the offending definition.

the problem was caused by a multiple curves intersection component, which was after kangaroo mesh output. Weird thing is that it was disabled. Even so turned rhino unclickable after pressing the kangaroo play button. Once deleted everything is back to normal.

Every time this weird bug-crash happens, if rhino is not shut down, most, but not all, kangaroo definitions carry on with the same play button problem. If rhino is restarted everything comes back to normal.

it started happening again. i cant pinpoint the cause.

if anyone has any idea, i would appreciate to share thoughts.








  • Add Photos
  • View All

© 2021   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service