# \#sdk

**URL:** https://discourse.mcneel.com/tag/sdk/313.md

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

---

## [Grasshopper2 Plugin Development Support](https://discourse.mcneel.com/t/grasshopper2-plugin-development-support/158578)

<div class="topic-metadata">

**Author:** [@Praneet\_Mathur](https://discourse.mcneel.com/u/Praneet_Mathur)\
**Replies:** 10\
**Last updated:** [May 14, 2026, 12:34am UTC](https://discourse.mcneel.com/t/grasshopper2-plugin-development-support/158578 "2026-05-14T00:34:41Z")

</div>

Hi @DavidRutten I’ve been exploring Grasshopper2 as a developer. Since documentation doesn’t exist yet, I’m trying my best to understand how things work and how they’re different from GH1. I’m curious about a few specif…

---

## [RhinoMeshUnwrapper crashes](https://discourse.mcneel.com/t/rhinomeshunwrapper-crashes/217382)

<div class="topic-metadata">

**Author:** [@Guillaume\_Chereau](https://discourse.mcneel.com/u/Guillaume_Chereau)\
**Replies:** 7\
**Last updated:** [April 14, 2026, 10:30pm UTC](https://discourse.mcneel.com/t/rhinomeshunwrapper-crashes/217382 "2026-04-14T22:30:49Z")

</div>

Hello ! I develop several Rhino plugins for rendering and I would like to automatically unwrap render meshes that doesn’t have UV mapping set by the user. For that purpose, I recklessly used: RhinoMeshUnwrapper rhUnwr…

---

## [Change Panel Width Programmatically](https://discourse.mcneel.com/t/change-panel-width-programmatically/214758)

<div class="topic-metadata">

**Author:** [@mrhe](https://discourse.mcneel.com/u/mrhe)\
**Replies:** 8\
**Last updated:** [March 28, 2026, 9:59am UTC](https://discourse.mcneel.com/t/change-panel-width-programmatically/214758 "2026-03-28T09:59:57Z")

</div>

Hey Developers, is there a way to programmatically set the panel width both in the docked/undocked state? In my plugin, I’d like to implement a toggle between a ‘Compact’ and ‘Expanded’ mode. Rhinocommon or c++ sdk are…

---

## [Flat Shade via c# or python?](https://discourse.mcneel.com/t/flat-shade-via-c-or-python/210169)

<div class="topic-metadata">

**Author:** [@seg](https://discourse.mcneel.com/u/seg)\
**Replies:** 7\
**Last updated:** [September 26, 2025, 11:07am UTC](https://discourse.mcneel.com/t/flat-shade-via-c-or-python/210169 "2025-09-26T11:07:37Z")

</div>

Hello How to control Flat Shade in Grasshopper using c# or python?

---

## [Build against a newer build of the Grasshopper SDK](https://discourse.mcneel.com/t/build-against-a-newer-build-of-the-grasshopper-sdk/190622)

<div class="topic-metadata">

**Author:** [@xliotx](https://discourse.mcneel.com/u/xliotx)\
**Replies:** 2\
**Last updated:** [September 4, 2024, 9:54am UTC](https://discourse.mcneel.com/t/build-against-a-newer-build-of-the-grasshopper-sdk/190622 "2024-09-04T09:54:29Z")

</div>

Got this today in Rhino 8 SR10.

---

## [How to run code in python SDK mode when script component gets disabled](https://discourse.mcneel.com/t/how-to-run-code-in-python-sdk-mode-when-script-component-gets-disabled/188045)

<div class="topic-metadata">

**Author:** [@OBucklin](https://discourse.mcneel.com/u/OBucklin)\
**Replies:** 2\
**Last updated:** [July 15, 2024, 1:42pm UTC](https://discourse.mcneel.com/t/how-to-run-code-in-python-sdk-mode-when-script-component-gets-disabled/188045 "2024-07-15T13:42:13Z")

</div>

Hello, Specifically I want to manipulate the sticky when the component gets locked. I’m not sure if there is an event/override that allows this. I tried OnAttributesChanged() and OnObjectChanged() overrides, but couldn’…

---

## [Rhino freeze when trying save material as a .rmtl file](https://discourse.mcneel.com/t/rhino-freeze-when-trying-save-material-as-a-rmtl-file/182988)

<div class="topic-metadata">

**Author:** [@Sem\_Sloan](https://discourse.mcneel.com/u/Sem_Sloan)\
**Replies:** 1\
**Last updated:** [May 29, 2024, 11:30am UTC](https://discourse.mcneel.com/t/rhino-freeze-when-trying-save-material-as-a-rmtl-file/182988 "2024-05-29T11:30:37Z")

</div>

I have a freeze with Rhino when trying to save material as a .rmtl file. Steps to reproduce the issue: Create any rhino material Click RMB on it and choose in the drop box menu “Save to File…” Chose place to save and …

---

## [Rhino 7 C++ SDK requires Visual Studio 2019](https://discourse.mcneel.com/t/rhino-7-c-sdk-requires-visual-studio-2019/160242)

<div class="topic-metadata">

**Author:** [@xliotx](https://discourse.mcneel.com/u/xliotx)\
**Replies:** 15\
**Last updated:** [May 13, 2024, 6:25am UTC](https://discourse.mcneel.com/t/rhino-7-c-sdk-requires-visual-studio-2019/160242 "2024-05-13T06:25:04Z")

</div>

When installing Rhino C++ SDK, it requires VS2019… While VS 2022 has been release for quite a while, is there any plan to update the requirement?

---

## [Eddy 3D install issue](https://discourse.mcneel.com/t/eddy-3d-install-issue/177642)

<div class="topic-metadata">

**Author:** [@Alessandra\_Mc\_Cutche](https://discourse.mcneel.com/u/Alessandra_Mc_Cutche)\
**Replies:** 3\
**Last updated:** [April 4, 2024, 3:53pm UTC](https://discourse.mcneel.com/t/eddy-3d-install-issue/177642 "2024-04-04T15:53:45Z")

</div>

Hi all, I am trying to install Eddy3D. I have rhino 7 and I just updated it. I installed eddy, ran it and it created the grasshopper plugin in link and I have unblocked that too. I have BlueCFD installed and ready. W…

---

## [How to use SetUserString(opennurbs) and GetUserString(c++ sdk) properly](https://discourse.mcneel.com/t/how-to-use-setuserstring-opennurbs-and-getuserstring-c-sdk-properly/177729)

<div class="topic-metadata">

**Author:** [@tracyma](https://discourse.mcneel.com/u/tracyma)\
**Replies:** 2\
**Last updated:** [March 12, 2024, 8:58pm UTC](https://discourse.mcneel.com/t/how-to-use-setuserstring-opennurbs-and-getuserstring-c-sdk-properly/177729 "2024-03-12T20:58:01Z")

</div>

try to save curves with opennurbs and SetUserString: ON\_NurbsCurve\* rhinoCurve = new ON\_NurbsCurve(...); rhinoCurve-\>SetCV(); rhinoCurve-\>SetKnot(); // Option 1: SetUserString directly rhinoCurve-\>SetUserString(L"MyKey"…

---

## [Eto.Forms Equivalent for the C++ SDK?](https://discourse.mcneel.com/t/eto-forms-equivalent-for-the-c-sdk/125584)

<div class="topic-metadata">

**Author:** [@eebs99](https://discourse.mcneel.com/u/eebs99)\
**Replies:** 7\
**Last updated:** [March 9, 2024, 1:13pm UTC](https://discourse.mcneel.com/t/eto-forms-equivalent-for-the-c-sdk/125584 "2024-03-09T13:13:51Z")

</div>

Hello, I’m intending to convert one of my C# plugins to C++ and am looking for a C++ equivalent to Eto.Forms - or at least, be able to produce graphical menus such as the one that appears in the Loft command. Is there a…

---

## [SubD SDK request: SubD crease weight accessible in GH](https://discourse.mcneel.com/t/subd-sdk-request-subd-crease-weight-accessible-in-gh/176599)

<div class="topic-metadata">

**Author:** [@Quan\_Li](https://discourse.mcneel.com/u/Quan_Li)\
**Replies:** 1\
**Last updated:** [February 26, 2024, 12:04pm UTC](https://discourse.mcneel.com/t/subd-sdk-request-subd-crease-weight-accessible-in-gh/176599 "2024-02-26T12:04:20Z")

</div>

Hi, @dalelear , @DavidRutten , is it possible to implement R8’s new SubD crease into GH1? It will improve mesh to Nurbs workflow in GH a alot since users can add controllable fillet to the geometry by this way.

---

## [Updating a RhinoCommon plugin to use the most recent Rhino SDK version](https://discourse.mcneel.com/t/updating-a-rhinocommon-plugin-to-use-the-most-recent-rhino-sdk-version/176010)

<div class="topic-metadata">

**Author:** [@Timothy\_Peoples](https://discourse.mcneel.com/u/Timothy_Peoples)\
**Replies:** 3\
**Last updated:** [February 20, 2024, 8:50am UTC](https://discourse.mcneel.com/t/updating-a-rhinocommon-plugin-to-use-the-most-recent-rhino-sdk-version/176010 "2024-02-20T08:50:36Z")

</div>

Hi! How can I update our RhinoCommon plugin to make use of the most recent Rhino 8 SDK version? I originally created the plugin for Rhino 8 WIP on Windows and created the project files in Visual Studio 2022 with the Rh…

---

## [Rhino 8 WIP sdk](https://discourse.mcneel.com/t/rhino-8-wip-sdk/162959)

<div class="topic-metadata">

**Author:** [@guillaume2](https://discourse.mcneel.com/u/guillaume2)\
**Replies:** 3\
**Last updated:** [July 24, 2023, 7:40am UTC](https://discourse.mcneel.com/t/rhino-8-wip-sdk/162959 "2023-07-24T07:40:35Z")

</div>

Hello, do we have any c++ sdk for rhino 8 availlable? if yes where can i find it?

---

## [Intersect Tolerances](https://discourse.mcneel.com/t/intersect-tolerances/152934)

<div class="topic-metadata">

**Author:** [@nfg](https://discourse.mcneel.com/u/nfg)\
**Replies:** 1\
**Last updated:** [January 6, 2023, 12:57pm UTC](https://discourse.mcneel.com/t/intersect-tolerances/152934 "2023-01-06T12:57:34Z")

</div>

Is it possible to change the intersection tolerance of the C++ SDK ON\_MeshTreeNode::IntersectLine() method. I tried to change the intersection and the overlap tolerance of the IntersectLine() method and also the ON\_3dmUn…

---

## [Bug of ON\_Brep::Tranform() or CRhinoDoc::ReplaceObject() ? c++](https://discourse.mcneel.com/t/bug-of-on-brep-tranform-or-crhinodoc-replaceobject-c/151157)

<div class="topic-metadata">

**Author:** [@suc\_kiet](https://discourse.mcneel.com/u/suc_kiet)\
**Replies:** 2\
**Last updated:** [December 1, 2022, 4:47pm UTC](https://discourse.mcneel.com/t/bug-of-on-brep-tranform-or-crhinodoc-replaceobject-c/151157 "2022-12-01T16:47:07Z")

</div>

Hi; CRhinoGetObject go; go.SetCommandPrompt(L"Select Breps"); go.EnableReferenceObjectSelect(false); go.EnableSubObjectSelect(false); go.EnableGroupSelect(true); go.SetGeometryFilter(ON::brep\_object); go.GetOb…

---

## [Creating attributes isn't added directly in Rhino](https://discourse.mcneel.com/t/creating-attributes-isnt-added-directly-in-rhino/142353)

<div class="topic-metadata">

**Author:** [@blondbeer](https://discourse.mcneel.com/u/blondbeer)\
**Replies:** 1\
**Last updated:** [May 10, 2022, 10:57pm UTC](https://discourse.mcneel.com/t/creating-attributes-isnt-added-directly-in-rhino/142353 "2022-05-10T22:57:03Z")

</div>

Hello, I’m adding a new attribute with auto\* displayAttrb = CRhinoDisplayAttrsMgr::CreateNewAttrs(APP\_NAME, {}); and after setting all the settings, I call these two: CRhinoDisplayAttrsMgr::UpdateAttributes(\*displayAt…

---

## [Spotlight Orientation](https://discourse.mcneel.com/t/spotlight-orientation/141784)

<div class="topic-metadata">

**Author:** [@Nikos\_Skiadas](https://discourse.mcneel.com/u/Nikos_Skiadas)\
**Replies:** 14\
**Last updated:** [May 6, 2022, 8:53am UTC](https://discourse.mcneel.com/t/spotlight-orientation/141784 "2022-05-06T08:53:56Z")

</div>

Hi, for the purposes of the plugin I am working on (using the C++ SDK), I would like to be able to determine a local “up” vector for a spotlight The light can be rolled (rotated around the direction vector) while edi…

---

## ["DLL Initialization failed" library using Rhino SDK C++](https://discourse.mcneel.com/t/dll-initialization-failed-library-using-rhino-sdk-c/140946)

<div class="topic-metadata">

**Author:** [@blondbeer](https://discourse.mcneel.com/u/blondbeer)\
**Replies:** 3\
**Last updated:** [April 14, 2022, 11:36am UTC](https://discourse.mcneel.com/t/dll-initialization-failed-library-using-rhino-sdk-c/140946 "2022-04-14T11:36:47Z")

</div>

I have an executable library (.EXE) to which a DLL library is linked. The DLL library is linked to the Rhino C++ SDK. I’ve narrowed it down, and linking the executable to this library when the dependency to the Rhino SDK…

---

## [Crash Grasshopper in sweep2(by start and end /Point)](https://discourse.mcneel.com/t/crash-grasshopper-in-sweep2-by-start-and-end-point/135636)

<div class="topic-metadata">

**Author:** [@Rh-3d-p](https://discourse.mcneel.com/u/Rh-3d-p)\
**Replies:** 14\
**Last updated:** [February 17, 2022, 4:10am UTC](https://discourse.mcneel.com/t/crash-grasshopper-in-sweep2-by-start-and-end-point/135636 "2022-02-17T04:10:07Z")

</div>

in Rhino 7, 7.14.21362.1300 sweep2 in c# in run crash rhino and grasshopper but in Rhino 7 SR14 2021-11-23 (Rhino 7, 7.14.21327.17001 it is ok in Rhino 7 SR14 2021-11-23 (Rhino 7, 7.14.21327.1700 in Rhino 7, 7.…

---

## [ON\_3fPoint::DistanceTo](https://discourse.mcneel.com/t/on-3fpoint-distanceto/43108)

<div class="topic-metadata">

**Author:** [@kvrantzaliev](https://discourse.mcneel.com/u/kvrantzaliev)\
**Replies:** 2\
**Last updated:** [December 15, 2021, 12:38am UTC](https://discourse.mcneel.com/t/on-3fpoint-distanceto/43108 "2021-12-15T00:38:27Z")

</div>

Hello team, I know this might be a small thing and yes, I can implement it myself, but would be nice to have ON\_3fPoint::SquaredDistanceTo. In many case in the code you might need to compare only the distances and lengt…

---

## [Rhino 7 C++ SDK](https://discourse.mcneel.com/t/rhino-7-c-sdk/132794)

<div class="topic-metadata">

**Author:** [@jeremyliu1989](https://discourse.mcneel.com/u/jeremyliu1989)\
**Replies:** 3\
**Last updated:** [November 5, 2021, 8:08am UTC](https://discourse.mcneel.com/t/rhino-7-c-sdk/132794 "2021-11-05T08:08:16Z")

</div>

Hey, guys: I have developed a Rhino plugin with C++, and I want to make this plugin be compatible with all the users of Rhino 6 and Rhino 7. I know I have to compile the code with the lowest version of Rhino 6 and 7 SDK…

---

## [Rhino C++: StdAfx.h Interfering with Other Libraries](https://discourse.mcneel.com/t/rhino-c-stdafx-h-interfering-with-other-libraries/125786)

<div class="topic-metadata">

**Author:** [@eebs99](https://discourse.mcneel.com/u/eebs99)\
**Replies:** 1\
**Last updated:** [June 11, 2021, 8:24am UTC](https://discourse.mcneel.com/t/rhino-c-stdafx-h-interfering-with-other-libraries/125786 "2021-06-11T08:24:57Z")

</div>

Hello, I am trying to use exprtk.hpp with a C++ plugin and am unable to figure out why stdafx.h doesn’t like that. All I want to do is #include “exprtk.hpp” in the cmdPluginName.cpp file, but then I get a whole bunch of…

---

## [AlignProfiles (command in sdk)](https://discourse.mcneel.com/t/alignprofiles-command-in-sdk/122888)

<div class="topic-metadata">

**Author:** [@architect.civil5](https://discourse.mcneel.com/u/architect.civil5)\
**Replies:** 5\
**Last updated:** [April 23, 2021, 5:27pm UTC](https://discourse.mcneel.com/t/alignprofiles-command-in-sdk/122888 "2021-04-23T17:27:04Z")

</div>

hi @dale have a nice day What is RhinoCommon(API) AlignProfiles {command in Rhino}recipe? I need to it, but can’t I find the order? Also API For Curve from cross section profiles

---

## [On\_NurbsSurface to ON\_RevSurface](https://discourse.mcneel.com/t/on-nurbssurface-to-on-revsurface/118421)

<div class="topic-metadata">

**Author:** [@eraud](https://discourse.mcneel.com/u/eraud)\
**Replies:** 2\
**Last updated:** [February 25, 2021, 9:32am UTC](https://discourse.mcneel.com/t/on-nurbssurface-to-on-revsurface/118421 "2021-02-25T09:32:26Z")

</div>

Hello , With RhinoSdk , do you know if there is a function to convert/simplify a ON\_BrepFace with basis surface ON\_NurbsSurface to a ON\_BrepFace with ON\_RevSurface ? Thanks Laurent

---

## [Ladybug Error](https://discourse.mcneel.com/t/ladybug-error/111508)

<div class="topic-metadata">

**Author:** [@maia17112](https://discourse.mcneel.com/u/maia17112)\
**Replies:** 5\
**Last updated:** [November 4, 2020, 9:08am UTC](https://discourse.mcneel.com/t/ladybug-error/111508 "2020-11-04T09:08:21Z")

</div>

Hi I have a problem in Ladybug when I open rhino the first message had shown and when I try to use import epw I have an error “1. You should first let Ladybug fly…”

---

## [API/SDK - (in)significant version info](https://discourse.mcneel.com/t/api-sdk-in-significant-version-info/66467)

<div class="topic-metadata">

**Author:** [@RIL](https://discourse.mcneel.com/u/RIL)\
**Replies:** 0\
**Last updated:** [July 6, 2018, 3:00pm UTC](https://discourse.mcneel.com/t/api-sdk-in-significant-version-info/66467 "2018-07-06T15:00:21Z")

</div>

It sometimes (often) happens that I want to know whether a RhinoCommon or Grasshopper command is supoorted in earlier versions than the lastest stable release. The SDK/API documentation has version info, but how clever i…

---

## [Where can I download the Rhino 7 WIP C++ Plugin SDK?](https://discourse.mcneel.com/t/where-can-i-download-the-rhino-7-wip-c-plugin-sdk/102225)

<div class="topic-metadata">

**Author:** [@e.valkering](https://discourse.mcneel.com/u/e.valkering)\
**Replies:** 4\
**Last updated:** [May 15, 2020, 5:24pm UTC](https://discourse.mcneel.com/t/where-can-i-download-the-rhino-7-wip-c-plugin-sdk/102225 "2020-05-15T17:24:57Z")

</div>

Hi, We are trying to see whether our plugin will compile when using the Rhino 7 WIP C++ Plugin SDK. However, I can’t find where to obtain this SDK. Is it actually available, and if so, where? Kind regards, Erik Valker…

---

## [SDK - Remove input from GH\_Param\<T\>](https://discourse.mcneel.com/t/sdk-remove-input-from-gh-param-t/96747)

<div class="topic-metadata">

**Author:** [@scudelari](https://discourse.mcneel.com/u/scudelari)\
**Replies:** 2\
**Last updated:** [February 19, 2020, 4:59pm UTC](https://discourse.mcneel.com/t/sdk-remove-input-from-gh-param-t/96747 "2020-02-19T16:59:22Z")

</div>

Hello, I am developing some custom components for GH and, well, SDK documentation is limited. I am trying to make a custom component that inherits from GH\_Param. I already have most of my test functionality working but…

---

## [Cannot downgrade Rhino 6 SDK](https://discourse.mcneel.com/t/cannot-downgrade-rhino-6-sdk/96069)

<div class="topic-metadata">

**Author:** [@robin\_l](https://discourse.mcneel.com/u/robin_l)\
**Replies:** 3\
**Last updated:** [February 12, 2020, 9:24am UTC](https://discourse.mcneel.com/t/cannot-downgrade-rhino-6-sdk/96069 "2020-02-12T09:24:09Z")

</div>

Hello Since the minimum version requirement is linked to the version of the SDK we have installed locally on our development environment, we often switch between different versions of the SDK. Recently, I updated my SD…

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