Python 3: Output text single index

Hey guys,

I have one silly question. Why the output doesn’t have two indices? I tried the same thing in Rhino 7 and the result has two index values.

Something has changed in Rhino 8 (Python 3) or am I doing something wrong?

Recently I upgraded Rhino 8 to the newest version and I realized that the zoom-in function for Script Editor doesn’t work.

Does anyone else have the same issue?

image

Hi -

Something changed, yes. In Rhino 8, the Python script editor is not the same as the one that was available in Grasshopper in Rhino 7. To get the legacy component, double-click the canvas and start with a hatch sign to search legacy components that are hidden in the default toolbars:
image

-wim

Hi Wim,

Thank you for the tip.

I’m wondering if it’s possible to print each line as a new index in the output with the new Python Script Editor in Rhino 8. I have a preference for Python 3. Also, is the feature of printing all lines within the same index intentional, or is it a bug?

By the way, in the old Grasshopper Python Script Editor, neither the zoom-in (ctrl+“+”) nor the zoom-out (ctrl+“-”) functions seem to be working now.

I’ll get this fixed. Thanks for reporting @howtograsshopper

RH-79618 Legacy Python component has multiline standard output

Hey @eirannejad ,

Thank you for the reply!

I would also like to inquire about the current status of the hint/signature for the Python script editor RH-78115. (similar to what we have in the Grasshopper Python Script Editor for Rhino 7)

Fixed in next 8.4 RC

New script component now matches previous behaviour:

There is also a new toggle to Avoid Grafting Output when necessary

1 Like

Thank you @eirannejad for fixing it!

1 Like

RH-79618 is fixed in Rhino 8 Service Release 4 Release Candidate

RH-79618 is fixed in Rhino 8 Service Release 4

1 Like