# \#rhinopython

**URL:** https://discourse.mcneel.com/tag/rhinopython/96.md

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

---

## [Find free end points of lines which do not coincide with other geometry](https://discourse.mcneel.com/t/find-free-end-points-of-lines-which-do-not-coincide-with-other-geometry/145146)

<div class="topic-metadata">

**Author:** [@srechenb](https://discourse.mcneel.com/u/srechenb)\
**Replies:** 12\
**Last updated:** [February 12, 2026, 9:48pm UTC](https://discourse.mcneel.com/t/find-free-end-points-of-lines-which-do-not-coincide-with-other-geometry/145146 "2026-02-12T21:48:11Z")

</div>

I’m looking for an easy way to find end points of lines which do not coincide with other geometry. We are using Rhino5 to build FEA models with beam elements. Each beam is a simple line. Yet for the FEA software to read…

---

## [Mesh.CreateFromTessellation](https://discourse.mcneel.com/t/mesh-createfromtessellation/214330)

<div class="topic-metadata">

**Author:** [@Jray](https://discourse.mcneel.com/u/Jray)\
**Replies:** 2\
**Last updated:** [January 20, 2026, 1:09pm UTC](https://discourse.mcneel.com/t/mesh-createfromtessellation/214330 "2026-01-20T13:09:54Z")

</div>

Hello, There are strange behaviors of the Rhino method from Mesh, CreateFromTessellation that I can’t understand and would appreciate some enlightenment on: The method is functioning if I feed it with this : ptobj = s…

---

## [Problem importing rhinoscript](https://discourse.mcneel.com/t/problem-importing-rhinoscript/211677)

<div class="topic-metadata">

**Author:** [@Julian13](https://discourse.mcneel.com/u/Julian13)\
**Replies:** 0\
**Last updated:** [October 29, 2025, 6:34pm UTC](https://discourse.mcneel.com/t/problem-importing-rhinoscript/211677 "2025-10-29T18:34:12Z")

</div>

Hello! I used Ccleaner (yes I know thats not very smart) on non system relevant files, and since then the Rhino Script Syntax import is broken. Trying to import it gives out the error message I attached. I reinstalled …

---

## [FilletSrf Multiple](https://discourse.mcneel.com/t/filletsrf-multiple/130537)

<div class="topic-metadata">

**Author:** [@Jonathan\_Hutchinson1](https://discourse.mcneel.com/u/Jonathan_Hutchinson1)\
**Replies:** 28\
**Last updated:** [June 3, 2025, 3:30pm UTC](https://discourse.mcneel.com/t/filletsrf-multiple/130537 "2025-06-03T15:30:49Z")

</div>

Hi, is there a youtrack / wish that exists for filletsrf to accept multiple picks in the second stage of the command (i.e. from multiple surfaces, to a surface). In the case of for instance some complex geometry that i…

---

## [Trying to expand the Easy\_cut script with area](https://discourse.mcneel.com/t/trying-to-expand-the-easy-cut-script-with-area/182888)

<div class="topic-metadata">

**Author:** [@anders](https://discourse.mcneel.com/u/anders)\
**Replies:** 6\
**Last updated:** [May 17, 2025, 1:55pm UTC](https://discourse.mcneel.com/t/trying-to-expand-the-easy-cut-script-with-area/182888 "2025-05-17T13:55:18Z")

</div>

I’m trying to add two measurements /surface area and boundingbox area)to the Easy\_Cut Python script, but I get a formatting error "ValueError: Unknown format code ‘f’ for object of type ‘str’ "…I may have to add stuff to…

---

## [Using ComputeVertexColors to Set Object Display Color?](https://discourse.mcneel.com/t/using-computevertexcolors-to-set-object-display-color/203450)

<div class="topic-metadata">

**Author:** [@andreaw](https://discourse.mcneel.com/u/andreaw)\
**Replies:** 0\
**Last updated:** [April 23, 2025, 2:28am UTC](https://discourse.mcneel.com/t/using-computevertexcolors-to-set-object-display-color/203450 "2025-04-23T02:28:06Z")

</div>

I saw the post here and MaterialColorToObject.py which is nice but doesn’t seem to work for materials where the color is set by a bitmap. I tried to use compute vertex colors to then get a single color to set it to, but …

---

## [Scripting Cage\_Edit function](https://discourse.mcneel.com/t/scripting-cage-edit-function/202196)

<div class="topic-metadata">

**Author:** [@Bellec](https://discourse.mcneel.com/u/Bellec)\
**Replies:** 5\
**Last updated:** [April 2, 2025, 8:12am UTC](https://discourse.mcneel.com/t/scripting-cage-edit-function/202196 "2025-04-02T08:12:17Z")

</div>

Hello everyone, I’m currently working on a problem related to automated surface deformation in Rhino. Initially, I developed a Grasshopper model to achieve this, but I wasn’t completely satisfied with the result since …

---

## [Get the value of Grasshopper component from RhinoPython](https://discourse.mcneel.com/t/get-the-value-of-grasshopper-component-from-rhinopython/167622)

<div class="topic-metadata">

**Author:** [@春日\_拓実](https://discourse.mcneel.com/u/%E6%98%A5%E6%97%A5_%E6%8B%93%E5%AE%9F)\
**Replies:** 6\
**Last updated:** [November 12, 2024, 8:56pm UTC](https://discourse.mcneel.com/t/get-the-value-of-grasshopper-component-from-rhinopython/167622 "2024-11-12T20:56:17Z")

</div>

Hi, I am trying to program to set values in RhinoPython and get the resulting values calculated in Grasshopper.However, I don’t know which method to use to get the values of Grasshopper components.What should I do? tes…

---

## [Set CPlane in rhino python](https://discourse.mcneel.com/t/set-cplane-in-rhino-python/188768)

<div class="topic-metadata">

**Author:** [@keerthana](https://discourse.mcneel.com/u/keerthana)\
**Replies:** 0\
**Last updated:** [July 29, 2024, 12:11pm UTC](https://discourse.mcneel.com/t/set-cplane-in-rhino-python/188768 "2024-07-29T12:11:18Z")

</div>

hi there, I’ve change the Cplane coordinates from the default in my rhino file and I have a small script in rhino python where which create some points and lines. I want the coordinates to align with the CPlane set in r…

---

## [Python Grasshopper: The file writing plug-in failed](https://discourse.mcneel.com/t/python-grasshopper-the-file-writing-plug-in-failed/187867)

<div class="topic-metadata">

**Author:** [@Jorge\_Muñoz\_Zanón](https://discourse.mcneel.com/u/Jorge_Mu%C3%B1oz_Zan%C3%B3n)\
**Replies:** 0\
**Last updated:** [July 10, 2024, 9:33pm UTC](https://discourse.mcneel.com/t/python-grasshopper-the-file-writing-plug-in-failed/187867 "2024-07-10T21:33:47Z")

</div>

Hi, I’m trying to create a simple python script inside a grasshopper python component that exports fbx (I’ve ecountered the same problem also when exporting normal objs too) that gives me an error and tells me Failed to …

---

## [Bug: rs.ObjectsByType() not working in python3](https://discourse.mcneel.com/t/bug-rs-objectsbytype-not-working-in-python3/172368)

<div class="topic-metadata">

**Author:** [@tpuaup](https://discourse.mcneel.com/u/tpuaup)\
**Replies:** 6\
**Last updated:** [May 17, 2024, 3:24am UTC](https://discourse.mcneel.com/t/bug-rs-objectsbytype-not-working-in-python3/172368 "2024-05-17T03:24:00Z")

</div>

In Rhino8(8.2), I found when I run print (len(rs.ObjectsByType(4))) it gets different results in python3 and python2(ironpython) In python2 it works fine to get only curve objects, but in python3, it gets all objects. …

---

## [If rs.ObjectType ==4096 #error Object does not exist in Object Table](https://discourse.mcneel.com/t/if-rs-objecttype-4096-error-object-does-not-exist-in-object-table/174210)

<div class="topic-metadata">

**Author:** [@Maximilian\_Schorer](https://discourse.mcneel.com/u/Maximilian_Schorer)\
**Replies:** 3\
**Last updated:** [January 26, 2024, 2:41pm UTC](https://discourse.mcneel.com/t/if-rs-objecttype-4096-error-object-does-not-exist-in-object-table/174210 "2024-01-26T14:41:08Z")

</div>

Hello everyone, I have a problem with a Rhino Python script which should explode all blocks and delete the blocks. In Rhino 7 this script part worked very reliably. all\_objects = rs.AllObjects() for obj\_id in …

---

## [Rhino Python script Eto help](https://discourse.mcneel.com/t/rhino-python-script-eto-help/40462)

<div class="topic-metadata">

**Author:** [@gent](https://discourse.mcneel.com/u/gent)\
**Replies:** 4\
**Last updated:** [January 19, 2017, 12:05am UTC](https://discourse.mcneel.com/t/rhino-python-script-eto-help/40462 "2017-01-19T00:05:34Z")

</div>

I'm attempting to create an 'accordion' style dialog control with rhino python using eto. A helpful fellow over on eto's github pointed me in the right direction but I'm not super familiar with c++ (I assume that's what …

---

## [Linking 2D Blocks Automatically to Make Them 3D](https://discourse.mcneel.com/t/linking-2d-blocks-automatically-to-make-them-3d/170273)

<div class="topic-metadata">

**Author:** [@Samet\_Yavuz](https://discourse.mcneel.com/u/Samet_Yavuz)\
**Replies:** 0\
**Last updated:** [November 29, 2023, 11:10am UTC](https://discourse.mcneel.com/t/linking-2d-blocks-automatically-to-make-them-3d/170273 "2023-11-29T11:10:35Z")

</div>

Hi Everyone! I’m Studying on a new method to make 2D Autocad plans to convert them 3D in rhinoceros. First information; we have libraries of 3D models like tables sofas lockers etc… Then we have 2D Attributed Blocks i…

---

## [Grasshopper Python access to render + channels?](https://discourse.mcneel.com/t/grasshopper-python-access-to-render-channels/163320)

<div class="topic-metadata">

**Author:** [@arcade.smith](https://discourse.mcneel.com/u/arcade.smith)\
**Replies:** 7\
**Last updated:** [November 23, 2023, 4:03am UTC](https://discourse.mcneel.com/t/grasshopper-python-access-to-render-channels/163320 "2023-11-23T04:03:40Z")

</div>

Can we access rhino render channels through Grasshopper, or export an image silently, specifying the render channel(s) to be exported?

---

## [Geometric symbols and tolerances creation of a Feature Control Frame](https://discourse.mcneel.com/t/geometric-symbols-and-tolerances-creation-of-a-feature-control-frame/168522)

<div class="topic-metadata">

**Author:** [@Eliel](https://discourse.mcneel.com/u/Eliel)\
**Replies:** 0\
**Last updated:** [November 6, 2023, 12:56am UTC](https://discourse.mcneel.com/t/geometric-symbols-and-tolerances-creation-of-a-feature-control-frame/168522 "2023-11-06T00:56:09Z")

</div>

help to create a Feature Control Frame Hi, I want to ask if there is a way to create this kind of specifications inside rhinoceros. The requirement is that the part assembly must pass an axis through the hole and sur…

---

## [Delete Hidden Objects](https://discourse.mcneel.com/t/delete-hidden-objects/89072)

<div class="topic-metadata">

**Author:** [@e.pouls](https://discourse.mcneel.com/u/e.pouls)\
**Replies:** 4\
**Last updated:** [October 19, 2023, 9:28pm UTC](https://discourse.mcneel.com/t/delete-hidden-objects/89072 "2023-10-19T21:28:43Z")

</div>

Hi all, I want to delete hidden objects via the objecttable using Rhino, python, rhinoscript, and combinations of those. def RunCommand(): #all non-light objects that are selected object\_enumerator\_settings = Objec…

---

## [Using Shrink Wrap with Python](https://discourse.mcneel.com/t/using-shrink-wrap-with-python/166928)

<div class="topic-metadata">

**Author:** [@Simon\_J2](https://discourse.mcneel.com/u/Simon_J2)\
**Replies:** 3\
**Last updated:** [October 9, 2023, 1:24pm UTC](https://discourse.mcneel.com/t/using-shrink-wrap-with-python/166928 "2023-10-09T13:24:40Z")

</div>

Hi, I’m fairly new to Python but I’m trying to put something together that will cycle through layers/objects in a rhino project and run the shrink wrap function, As far as I can wrap function is being applied on the inpu…

---

## [Help Converting linked blocks to embed blocks and and collapse](https://discourse.mcneel.com/t/help-converting-linked-blocks-to-embed-blocks-and-and-collapse/164813)

<div class="topic-metadata">

**Author:** [@Andrea\_Montis](https://discourse.mcneel.com/u/Andrea_Montis)\
**Replies:** 1\
**Last updated:** [August 31, 2023, 11:15am UTC](https://discourse.mcneel.com/t/help-converting-linked-blocks-to-embed-blocks-and-and-collapse/164813 "2023-08-31T11:15:12Z")

</div>

Hi all! I have a problem with a python script. I need to convert all the blocks in the file to embedded blocks, collapse them ( remove any nested block) this is the code I am using at the moment: testing blocks.py (1…

---

## [Using import utils (to create location dict)?](https://discourse.mcneel.com/t/using-import-utils-to-create-location-dict/160623)

<div class="topic-metadata">

**Author:** [@Alan\_Farkas](https://discourse.mcneel.com/u/Alan_Farkas)\
**Replies:** 5\
**Last updated:** [May 28, 2023, 11:26pm UTC](https://discourse.mcneel.com/t/using-import-utils-to-create-location-dict/160623 "2023-05-28T23:26:00Z")

</div>

I can’t seem to track down “utils” in the API pages. Anyone have a link to where I can read up on this? Thx Alan

---

## [Convert g3.DMesh3 created with Jellyfish in Python to Rhino.Geometry.Mesh](https://discourse.mcneel.com/t/convert-g3-dmesh3-created-with-jellyfish-in-python-to-rhino-geometry-mesh/159913)

<div class="topic-metadata">

**Author:** [@Marcel\_Gort](https://discourse.mcneel.com/u/Marcel_Gort)\
**Replies:** 0\
**Last updated:** [May 15, 2023, 12:34pm UTC](https://discourse.mcneel.com/t/convert-g3-dmesh3-created-with-jellyfish-in-python-to-rhino-geometry-mesh/159913 "2023-05-15T12:34:56Z")

</div>

Dear community, When using Jellyfish within Grasshopper, DMesh3 geometry is automatically converted to Rhino.Geometry.Mesh. Hence, it is compatible with all other mesh tools. However, this does not seem to be the case …

---

## [How can i use the variables entered at eto window in another code](https://discourse.mcneel.com/t/how-can-i-use-the-variables-entered-at-eto-window-in-another-code/153411)

<div class="topic-metadata">

**Author:** [@seezy](https://discourse.mcneel.com/u/seezy)\
**Replies:** 4\
**Last updated:** [January 18, 2023, 12:24pm UTC](https://discourse.mcneel.com/t/how-can-i-use-the-variables-entered-at-eto-window-in-another-code/153411 "2023-01-18T12:24:45Z")

</div>

Hello I haven’t been programming for long and would like to use an entry in an eto window for another code, can someone help me. Thank you :slight\_smile: I mean how can i use the Variable which entered here: self.m\_text…

---

## [Debugging python script in VS Code](https://discourse.mcneel.com/t/debugging-python-script-in-vs-code/146240)

<div class="topic-metadata">

**Author:** [@jacekgrzegrzolka](https://discourse.mcneel.com/u/jacekgrzegrzolka)\
**Replies:** 2\
**Last updated:** [August 8, 2022, 7:01pm UTC](https://discourse.mcneel.com/t/debugging-python-script-in-vs-code/146240 "2022-08-08T19:01:45Z")

</div>

Hello everyone, I’ve been looking for similar topic on this forum, but haven’t found anything useful in my case. I have few pretty complex scripts which I would like to debug. I would like to use another code editor tha…

---

## [Change dimensions using external Python script](https://discourse.mcneel.com/t/change-dimensions-using-external-python-script/148947)

<div class="topic-metadata">

**Author:** [@KM499](https://discourse.mcneel.com/u/KM499)\
**Replies:** 1\
**Last updated:** [October 11, 2022, 8:31pm UTC](https://discourse.mcneel.com/t/change-dimensions-using-external-python-script/148947 "2022-10-11T20:31:54Z")

</div>

Hi there. I am new to Rhino as well as Rhino-Python integration. Does anyone know how to change a Rhino object’s dimensions or properties using an external Python script? I have a script that optimizes various properties…

---

## [Change all detail view display modes](https://discourse.mcneel.com/t/change-all-detail-view-display-modes/36399)

<div class="topic-metadata">

**Author:** [@jcparks](https://discourse.mcneel.com/u/jcparks)\
**Replies:** 12\
**Last updated:** [October 6, 2022, 3:01pm UTC](https://discourse.mcneel.com/t/change-all-detail-view-display-modes/36399 "2022-10-06T15:01:22Z")

</div>

I’m working on a drawing that has about 9 sheets that each have a shaded detail viewport or two. While annotating I’d like to be able to make all viewports wireframe display mode to speed things up. My python code is not…

---

## [GetModelScale() asks for 3 arguments but only 2 provided in documentation](https://discourse.mcneel.com/t/getmodelscale-asks-for-3-arguments-but-only-2-provided-in-documentation/145593)

<div class="topic-metadata">

**Author:** [@Michael\_Larbie](https://discourse.mcneel.com/u/Michael_Larbie)\
**Replies:** 3\
**Last updated:** [July 27, 2022, 11:39pm UTC](https://discourse.mcneel.com/t/getmodelscale-asks-for-3-arguments-but-only-2-provided-in-documentation/145593 "2022-07-27T23:39:42Z")

</div>

When trying to use the GetModelScale() function python asks for 3 arguments but only two are needed in the documentation, what is the third argument that it is asking for? The same question also stands for the SetModelS…

---

## [How to install mpmath, enum and future into Rhino IronPython package directly?](https://discourse.mcneel.com/t/how-to-install-mpmath-enum-and-future-into-rhino-ironpython-package-directly/46381)

<div class="topic-metadata">

**Author:** [@Bianchi](https://discourse.mcneel.com/u/Bianchi)\
**Replies:** 5\
**Last updated:** [March 10, 2022, 11:18pm UTC](https://discourse.mcneel.com/t/how-to-install-mpmath-enum-and-future-into-rhino-ironpython-package-directly/46381 "2022-03-10T23:18:00Z")

</div>

Based on what I’ve read, it’s possible to install other packages onto IronPython using pip and ipy.exe, using the Command Prompt with Administrator Access. However, these (pip and ipy.exe) appear to not be built in with …

---

## [Cell color in Eto with Python](https://discourse.mcneel.com/t/cell-color-in-eto-with-python/62342)

<div class="topic-metadata">

**Author:** [@Tim\_Williams](https://discourse.mcneel.com/u/Tim_Williams)\
**Replies:** 6\
**Last updated:** [February 22, 2022, 4:24pm UTC](https://discourse.mcneel.com/t/cell-color-in-eto-with-python/62342 "2022-02-22T16:24:41Z")

</div>

Can I get some hints how to make a cell background color different in an Eto GridView object? As well as the text color in a particular cell? import Eto.Forms as forms import Eto.Drawing as drawing import Rhino.UI cla…

---

## [Eto OnOKButtonClick custom argument](https://discourse.mcneel.com/t/eto-onokbuttonclick-custom-argument/137954)

<div class="topic-metadata">

**Author:** [@user1332](https://discourse.mcneel.com/u/user1332)\
**Replies:** 5\
**Last updated:** [February 15, 2022, 1:49pm UTC](https://discourse.mcneel.com/t/eto-onokbuttonclick-custom-argument/137954 "2022-02-15T13:49:30Z")

</div>

Good day, I am working with Eto Forms. My goal is to have an interactive dialog that allowed to rotate different objects in Rhino. After creating a series of buttons with a for loop: I wish for every button to per…

---

## [Eto: Dialog that keeps rhino view interactive?](https://discourse.mcneel.com/t/eto-dialog-that-keeps-rhino-view-interactive/134933)

<div class="topic-metadata">

**Author:** [@Gijs](https://discourse.mcneel.com/u/Gijs)\
**Replies:** 3\
**Last updated:** [December 13, 2021, 10:06pm UTC](https://discourse.mcneel.com/t/eto-dialog-that-keeps-rhino-view-interactive/134933 "2021-12-13T22:06:41Z")

</div>

Is there a way to make a dialog in Eto that keeps the view interactive (zoom/rotate)? So far the example files I tried, block the view (Eto.Forms.Dialog). My goal is to label selected surfaces and give info on these in a…

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