ScriptEditor Bug

@eirannejad what could be causing the following?

@stevebaer this.problem exists from the times of ironpython. When an script always refers to thw first file instead of second opened file. What is happening here?

compas_rhino selection methods (essentially bunch of rhinoscript selection methods) has a strange bug:

  • selection commands works on a freshly opened rhino version
  • when you open a new file in an existing rhino file, these commands are not found
  • only way to make this work is to restart rhino

I think this is a rhino bug, that we cannot solve for a decade…


@Petras_Vestartas Sorry for the delayed response. Please give me a bit more context. I see python 3 in the screenshots but you are referring to IronPython(?).

  • Where are these commands?
  • Are you running them inside the new script editor or from Rhino command line?
  • What is the expected behaviour? Please be as descriptive as possible so I can try to replicate on my side :folded_hands:

Looking into this and will update. Terribly sorry for the late reply. This fell off of my radar for some reason.