# \#script

**URL:** https://discourse.mcneel.com/tag/script/38.md

[Latest](https://discourse.mcneel.com/latest.md) · [Categories](https://discourse.mcneel.com/categories.md) · [Tags](https://discourse.mcneel.com/tags.md)

---

## [Trying to Nest Model Parts](https://discourse.mcneel.com/t/trying-to-nest-model-parts/224282)

<div class="topic-metadata">

**Author:** [@Osmo](https://discourse.mcneel.com/u/Osmo)\
**Replies:** 0\
**Last updated:** [November 4, 2026, 4:46pm UTC](https://discourse.mcneel.com/t/trying-to-nest-model-parts/224282 "2026-11-04T16:46:05Z")

</div>

Hi, I’m currently learning grasshopper while making a model, i’ve made the parts by hand, but am now wanting to nest them using Open Nest with my Rhino 7. I’ve made a little script to differentiate inner and outer curve…

---

## [Rhino 9 Requires Aliases Include Filename Extensions](https://discourse.mcneel.com/t/rhino-9-requires-aliases-include-filename-extensions/224078)

<div class="topic-metadata">

**Author:** [@Zane\_Parkinson](https://discourse.mcneel.com/u/Zane_Parkinson)\
**Replies:** 1\
**Last updated:** [October 29, 2026, 11:37pm UTC](https://discourse.mcneel.com/t/rhino-9-requires-aliases-include-filename-extensions/224078 "2026-10-29T23:37:32Z")

</div>

As per the title. I am coming from Rhino 7 and have multiple Aliases that point to python scripts in the format of ! \_-RunPythonScript “PythonScriptName” Rhino 9, for some reason, does not accept this format and require…

---

## [Rhino hangs when script is updated outside of Rhino while it is running](https://discourse.mcneel.com/t/rhino-hangs-when-script-is-updated-outside-of-rhino-while-it-is-running/223989)

<div class="topic-metadata">

**Author:** [@erik6](https://discourse.mcneel.com/u/erik6)\
**Replies:** 2\
**Last updated:** [October 29, 2026, 3:42pm UTC](https://discourse.mcneel.com/t/rhino-hangs-when-script-is-updated-outside-of-rhino-while-it-is-running/223989 "2026-10-29T15:42:56Z")

</div>

Hello, this happens when developing py-scripts in the ScriptEditor. Run the script. Make it wait for input or whatever, so that the script is running. Now update the script outside of Rhino. Rhino hangs. If the scri…

---

## [Rhino C# Script: Import objects from selected layers of a 3dm file](https://discourse.mcneel.com/t/rhino-c-script-import-objects-from-selected-layers-of-a-3dm-file/223741)

<div class="topic-metadata">

**Author:** [@Marco\_Traverso](https://discourse.mcneel.com/u/Marco_Traverso)\
**Replies:** 0\
**Last updated:** [October 19, 2026, 6:18pm UTC](https://discourse.mcneel.com/t/rhino-c-script-import-objects-from-selected-layers-of-a-3dm-file/223741 "2026-10-19T18:18:07Z")

</div>

I’d like to share a small C# script that appends objects from a .3dm file into the current Rhino document, letting you choose which layers to import from a dialog. This lets you import only what you need, instead of …

---

## [Script for identifying problematic elements in a list](https://discourse.mcneel.com/t/script-for-identifying-problematic-elements-in-a-list/222858)

<div class="topic-metadata">

**Author:** [@Robert\_Evt](https://discourse.mcneel.com/u/Robert_Evt)\
**Replies:** 0\
**Last updated:** [September 20, 2026, 4:56pm UTC](https://discourse.mcneel.com/t/script-for-identifying-problematic-elements-in-a-list/222858 "2026-09-20T16:56:20Z")

</div>

I wrote a Python script for Grasshopper that identifies which element in a list is causing a command to fail and throw an error. I imagine I’m far from the only one who would find such a script useful :slight\_smile: …

---

## [Can't exit a command in script](https://discourse.mcneel.com/t/cant-exit-a-command-in-script/221212)

<div class="topic-metadata">

**Author:** [@Bathsheba](https://discourse.mcneel.com/u/Bathsheba)\
**Replies:** 10\
**Last updated:** [August 14, 2026, 10:04pm UTC](https://discourse.mcneel.com/t/cant-exit-a-command-in-script/221212 "2026-08-14T22:04:38Z")

</div>

I don’t have Rhino for Mac but I’m trying to train someone who does. I have a file of Rhino commands that works for me and doesn’t work for her, and one problem is it can’t exit a command. We see histories like this (ita…

---

## [Drop object to surface script](https://discourse.mcneel.com/t/drop-object-to-surface-script/44486)

<div class="topic-metadata">

**Author:** [@Shim](https://discourse.mcneel.com/u/Shim)\
**Replies:** 5\
**Last updated:** [July 19, 2026, 5:18pm UTC](https://discourse.mcneel.com/t/drop-object-to-surface-script/44486 "2026-07-19T17:18:12Z")

</div>

Hi all, Just wondering if anyone has a script that enable to drop object to surface / mesh ? I will really aprciete if you can share it. Thank you Shim

---

## [R9 - WIP (9.0.26160.12305, 2026-06-09) - Python Problem](https://discourse.mcneel.com/t/r9-wip-9-0-26160-12305-2026-06-09-python-problem/220069)

<div class="topic-metadata">

**Author:** [@Erdem](https://discourse.mcneel.com/u/Erdem)\
**Replies:** 3\
**Last updated:** [June 23, 2026, 8:39am UTC](https://discourse.mcneel.com/t/r9-wip-9-0-26160-12305-2026-06-09-python-problem/220069 "2026-06-23T08:39:47Z")

</div>

I have this latest Rhino WIP installed and in Rhino I cannot open the python editor with EditPythonScript command (ScriptEditor seems to be working). In Grasshopper when I import and open a GHPython component when I typ…

---

## [C# Script working in Rhino 8 causes error in Rhino 9 WIP](https://discourse.mcneel.com/t/c-script-working-in-rhino-8-causes-error-in-rhino-9-wip/219680)

<div class="topic-metadata">

**Author:** [@ale2x72](https://discourse.mcneel.com/u/ale2x72)\
**Replies:** 1\
**Last updated:** [June 8, 2026, 7:49pm UTC](https://discourse.mcneel.com/t/c-script-working-in-rhino-8-causes-error-in-rhino-9-wip/219680 "2026-06-08T19:49:41Z")

</div>

// #! csharp using System; using System.Collections.Generic; using System.Drawing.Text; using System.Drawing; using Rhino.UI; string fontFace = "JetBrainsMono NFM SemiBold"; string fontFaceAngle = "JetBrainsMono NFM Med…

---

## [AI assistant for writing/modifying scripts in Grasshopper (Kea plug-in)](https://discourse.mcneel.com/t/ai-assistant-for-writing-modifying-scripts-in-grasshopper-kea-plug-in/207226)

<div class="topic-metadata">

**Author:** [@nicolaasburgers](https://discourse.mcneel.com/u/nicolaasburgers)\
**Replies:** 61\
**Last updated:** [May 19, 2026, 8:00am UTC](https://discourse.mcneel.com/t/ai-assistant-for-writing-modifying-scripts-in-grasshopper-kea-plug-in/207226 "2026-05-19T08:00:57Z")

</div>

Kea is a new plug-in for Grasshopper that uses AI to create and update script components for you. It adds a pop-up chat window (launchable from the View menu) and acts as an AI agent focused specifically on scripting ins…

---

## [CurveAndArcUtilities for Mac](https://discourse.mcneel.com/t/curveandarcutilities-for-mac/217283)

<div class="topic-metadata">

**Author:** [@jonathan.silva167](https://discourse.mcneel.com/u/jonathan.silva167)\
**Replies:** 0\
**Last updated:** [March 23, 2026, 7:01pm UTC](https://discourse.mcneel.com/t/curveandarcutilities-for-mac/217283 "2026-03-23T19:01:52Z")

</div>

Hey all. Pascal Golay had made a bunch of commands for scaling curves by their length and others. But they don’t seem to work when importing to Rhino 8 for Mac. Any idea if anyone was able to get this working or if it’s…

---

## [Unable to connect using c# script component](https://discourse.mcneel.com/t/unable-to-connect-using-c-script-component/217114)

<div class="topic-metadata">

**Author:** [@gintars.briedis](https://discourse.mcneel.com/u/gintars.briedis)\
**Replies:** 0\
**Last updated:** [March 18, 2026, 8:23am UTC](https://discourse.mcneel.com/t/unable-to-connect-using-c-script-component/217114 "2026-03-18T08:23:21Z")

</div>

Hi all, I’m trying to connect to Tekla Structures 2024 from a Grasshopper C# script component, but I’m unable to get a working connection. My setup : Rhino: 8 (using new C# script component) Tekla Structures: 2024 Te…

---

## [MatchMeshEdge through scripting or Grasshopper 3D components](https://discourse.mcneel.com/t/matchmeshedge-through-scripting-or-grasshopper-3d-components/110943)

<div class="topic-metadata">

**Author:** [@ilmar\_ik](https://discourse.mcneel.com/u/ilmar_ik)\
**Replies:** 23\
**Last updated:** [March 11, 2026, 12:23am UTC](https://discourse.mcneel.com/t/matchmeshedge-through-scripting-or-grasshopper-3d-components/110943 "2026-03-11T00:23:51Z")

</div>

Hi all, I am aiming to close a mesh which due to some previous surface modifications (added approximated patch by blending two separate objects) has a number of small gaps at both ends. A closed mesh is required for the…

---

## [Transformation Tool](https://discourse.mcneel.com/t/transformation-tool/216749)

<div class="topic-metadata">

**Author:** [@Roberto\_da\_Silva\_Kum](https://discourse.mcneel.com/u/Roberto_da_Silva_Kum)\
**Replies:** 0\
**Last updated:** [March 9, 2026, 3:29am UTC](https://discourse.mcneel.com/t/transformation-tool/216749 "2026-03-09T03:29:08Z")

</div>

Hi, I was watching this video and I’d like to ask for help understanding how the developer created this tool. From what I’ve researched and read so far, it seems this type of resource is called Morphy.

---

## [Help with Eto](https://discourse.mcneel.com/t/help-with-eto/215770)

<div class="topic-metadata">

**Author:** [@Roberto\_da\_Silva\_Kum](https://discourse.mcneel.com/u/Roberto_da_Silva_Kum)\
**Replies:** 2\
**Last updated:** [February 11, 2026, 2:24am UTC](https://discourse.mcneel.com/t/help-with-eto/215770 "2026-02-11T02:24:36Z")

</div>

Hello, I’m creating a table to generate a sole scale. However, when I click the Calculate button, Rhino is closing unexpectedly. Any help or guidance would be greatly appreciated. import rhinoscriptsyntax as rs import R…

---

## [NurbsSurface UVID Grip Indexing Issue](https://discourse.mcneel.com/t/nurbssurface-uvid-grip-indexing-issue/215659)

<div class="topic-metadata">

**Author:** [@tom33](https://discourse.mcneel.com/u/tom33)\
**Replies:** 5\
**Last updated:** [February 9, 2026, 3:23pm UTC](https://discourse.mcneel.com/t/nurbssurface-uvid-grip-indexing-issue/215659 "2026-02-09T15:23:30Z")

</div>

In the Grip.GetSurfaceCVIndices() function, the surfaceuvid provided seems to be the outermost one. Is there a way to obtain all the connected uvids? GripObject Grip.GetSurfaceCVIndices() Try to inquire of those who mi…

---

## [C# creating automatic sliders](https://discourse.mcneel.com/t/c-creating-automatic-sliders/84502)

<div class="topic-metadata">

**Author:** [@tognatta.aditya](https://discourse.mcneel.com/u/tognatta.aditya)\
**Replies:** 20\
**Last updated:** [January 19, 2026, 9:47pm UTC](https://discourse.mcneel.com/t/c-creating-automatic-sliders/84502 "2026-01-19T21:47:38Z")

</div>

Hey ! I am trying to create multiple sliders based based upon an integer input. I have modified James -ramden code:. The problem is it works fine on the first attempt, but the number of sliders increases exponentially…

---

## [Macro command doubt](https://discourse.mcneel.com/t/macro-command-doubt/213979)

<div class="topic-metadata">

**Author:** [@0904](https://discourse.mcneel.com/u/0904)\
**Replies:** 6\
**Last updated:** [December 27, 2025, 4:03am UTC](https://discourse.mcneel.com/t/macro-command-doubt/213979 "2025-12-27T04:03:48Z")

</div>

Hi all, using these commands in a button to make a macro, \_Circle \_Pause \_Diameter 20 Something unexpected happens to me, the \_Diameter command starts but it has nothing to do with the \_Circle command option, in …

---

## [Reordering the points by vector](https://discourse.mcneel.com/t/reordering-the-points-by-vector/213609)

<div class="topic-metadata">

**Author:** [@Yurii\_Petryna](https://discourse.mcneel.com/u/Yurii_Petryna)\
**Replies:** 3\
**Last updated:** [December 14, 2025, 1:04pm UTC](https://discourse.mcneel.com/t/reordering-the-points-by-vector/213609 "2025-12-14T13:04:39Z")

</div>

I was trying to recreate the Windows XP 3D pipe screensaver and have faced one issue. How do I reorder the points or create the path to follow the certain rule: the next point of the path is chosen randomly betwee vector…

---

## [Is it possible to use 'input is path' in ghpython in a rhino 8 script?](https://discourse.mcneel.com/t/is-it-possible-to-use-input-is-path-in-ghpython-in-a-rhino-8-script/166425)

<div class="topic-metadata">

**Author:** [@ljh](https://discourse.mcneel.com/u/ljh)\
**Replies:** 3\
**Last updated:** [December 11, 2025, 2:09pm UTC](https://discourse.mcneel.com/t/is-it-possible-to-use-input-is-path-in-ghpython-in-a-rhino-8-script/166425 "2025-12-11T14:09:26Z")

</div>

Can I use the ‘Show “code” input parameter’ and ‘Input is path’ features that I used in the ghpython component of rhino 7 in the script component of rhino 8? rhino 7 ghpython rhino 8 script

---

## [Rhino Templates for VisualStudio2026?](https://discourse.mcneel.com/t/rhino-templates-for-visualstudio2026/212550)

<div class="topic-metadata">

**Author:** [@flexibility](https://discourse.mcneel.com/u/flexibility)\
**Replies:** 6\
**Last updated:** [November 22, 2025, 10:12pm UTC](https://discourse.mcneel.com/t/rhino-templates-for-visualstudio2026/212550 "2025-11-22T22:12:48Z")

</div>

When will the Rhino Templates be updated for Visual Studio 2026? And is the current version, Rhino Templates 2022, compatible with Visual Studio 2026? alse

---

## [Wrote a C# Plugin (ProjectFlowEx) Seeking Improvement Ideas](https://discourse.mcneel.com/t/wrote-a-c-plugin-projectflowex-seeking-improvement-ideas/211318)

<div class="topic-metadata">

**Author:** [@hhhg\_ooopl](https://discourse.mcneel.com/u/hhhg_ooopl)\
**Replies:** 3\
**Last updated:** [November 4, 2025, 5:12pm UTC](https://discourse.mcneel.com/t/wrote-a-c-plugin-projectflowex-seeking-improvement-ideas/211318 "2025-11-04T17:12:37Z")

</div>

Plugin : Flow Objects to Surface Along Projection Direction ProjectFlowEx is a plugin command (ProjectFlowEx) developed for Rhino 7, used to map/deform selected geometry between two surfaces (Base / Target) according to…

---

## [Github Python Samples - Missing Brackets](https://discourse.mcneel.com/t/github-python-samples-missing-brackets/211817)

<div class="topic-metadata">

**Author:** [@keithscadservices](https://discourse.mcneel.com/u/keithscadservices)\
**Replies:** 5\
**Last updated:** [November 2, 2025, 1:26pm UTC](https://discourse.mcneel.com/t/github-python-samples-missing-brackets/211817 "2025-11-02T13:26:54Z")

</div>

And… slow loading of script editor after installing latest update (maybe just me??) Here’s the link where I found the missing brackets. Some sort of formatting quirk: There are definitely more because AI is grabbing/…

---

## [Programmatically creating new C# & Python script components](https://discourse.mcneel.com/t/programmatically-creating-new-c-python-script-components/199692)

<div class="topic-metadata">

**Author:** [@nicolaasburgers](https://discourse.mcneel.com/u/nicolaasburgers)\
**Replies:** 23\
**Last updated:** [October 30, 2025, 6:47pm UTC](https://discourse.mcneel.com/t/programmatically-creating-new-c-python-script-components/199692 "2025-10-30T18:47:53Z")

</div>

Hi McNeel and other experts Do you know the best way to programmatically create a RhinoCodePluginGH component (Rhino 8 C# and Python script components)? I have these aspects in mind: creating a new script component i…

---

## [Custom shaders issue with clipping plane on Rhino 8](https://discourse.mcneel.com/t/custom-shaders-issue-with-clipping-plane-on-rhino-8/210928)

<div class="topic-metadata">

**Author:** [@Martin\_Kaftan](https://discourse.mcneel.com/u/Martin_Kaftan)\
**Replies:** 0\
**Last updated:** [October 13, 2025, 8:17pm UTC](https://discourse.mcneel.com/t/custom-shaders-issue-with-clipping-plane-on-rhino-8/210928 "2025-10-13T20:17:32Z")

</div>

Hello, there seems to be an issue with OpenGL clipping planes when adding materials to objects via script. the issue partly disappears when I place other visible objects in the viewport. A sample script in the attachmen…

---

## [Rebar Element C# Scripting](https://discourse.mcneel.com/t/rebar-element-c-scripting/130860)

<div class="topic-metadata">

**Author:** [@aesthetik0717](https://discourse.mcneel.com/u/aesthetik0717)\
**Replies:** 2\
**Last updated:** [September 6, 2025, 12:13pm UTC](https://discourse.mcneel.com/t/rebar-element-c-scripting/130860 "2025-09-06T12:13:33Z")

</div>

Hi there. I am very new to the Rhino.Inside, and I just followed the C# script document on the official webpage. I found out the “EnqueueAction()” is not the way to use anymore, and I followed this article for bringin…

---

## [Mold surface creation](https://discourse.mcneel.com/t/mold-surface-creation/207615)

<div class="topic-metadata">

**Author:** [@Roberto\_da\_Silva\_Kum](https://discourse.mcneel.com/u/Roberto_da_Silva_Kum)\
**Replies:** 4\
**Last updated:** [September 2, 2025, 1:34am UTC](https://discourse.mcneel.com/t/mold-surface-creation/207615 "2025-09-02T01:34:29Z")

</div>

I found this video on a website while researching some Rhino plugins. Does anyone know how this plugin that creates this mold surface was created? I’d like to develop a script to generate something similar. If you could …

---

## [Rhino 8 Grasshopper Script Editor - Design Feedback](https://discourse.mcneel.com/t/rhino-8-grasshopper-script-editor-design-feedback/163513)

<div class="topic-metadata">

**Author:** [@AndersDeleuran](https://discourse.mcneel.com/u/AndersDeleuran)\
**Replies:** 229\
**Last updated:** [June 19, 2025, 7:49am UTC](https://discourse.mcneel.com/t/rhino-8-grasshopper-script-editor-design-feedback/163513 "2025-06-19T07:49:10Z")

</div>

Hi @eirannejad, Congrats on the progress of the Rhino 8 Grasshopper Script Editor. It looks a lot sharper than last time I had a go. That said, I do find there are design issues where the current GHPython editor shines …

---

## [Issues with Parasolid integration, and frustum registration](https://discourse.mcneel.com/t/issues-with-parasolid-integration-and-frustum-registration/208435)

<div class="topic-metadata">

**Author:** [@Shrikant](https://discourse.mcneel.com/u/Shrikant)\
**Replies:** 2\
**Last updated:** [August 15, 2025, 9:23pm UTC](https://discourse.mcneel.com/t/issues-with-parasolid-integration-and-frustum-registration/208435 "2025-08-15T21:23:09Z")

</div>

I’m encountering an exception when calling Parasolid APIs in my custom CAD application (C++ with CMake/Visual Studio on Windows, planning Linux port). I’ve purchased a developer license, set up the environment per the d…

---

## [Zomes - The Zonohedron dome](https://discourse.mcneel.com/t/zomes-the-zonohedron-dome/182154)

<div class="topic-metadata">

**Author:** [@luisgallana](https://discourse.mcneel.com/u/luisgallana)\
**Replies:** 11\
**Last updated:** [August 2, 2025, 11:52am UTC](https://discourse.mcneel.com/t/zomes-the-zonohedron-dome/182154 "2025-08-02T11:52:51Z")

</div>

TL;DR I’m a beginner in Grasshopper and basic/intermediate in Rhino. I’m trying to create a script based on a website to design parametric Zomes using laser-cut connectors. Hello everyone, Firstly, I’m happy to be abl…

[Next page](https://discourse.mcneel.com/tag/script/38.md?match_all_tags=true&page=1&tags%5B%5D=script)
