# \#ghpy

**URL:** https://discourse.mcneel.com/tag/ghpy/329.md

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

---

## [Deleting Custom Grasshopper Components made from GHPython Script](https://discourse.mcneel.com/t/deleting-custom-grasshopper-components-made-from-ghpython-script/138388)

<div class="topic-metadata">

**Author:** [@Johnny\_Donza](https://discourse.mcneel.com/u/Johnny_Donza)\
**Replies:** 4\
**Last updated:** [February 22, 2022, 9:46pm UTC](https://discourse.mcneel.com/t/deleting-custom-grasshopper-components-made-from-ghpython-script/138388 "2022-02-22T21:46:26Z")

</div>

I have just created a custom component using the GHPython Script following the documentation shown here: (\[Tutorial: creating a Grasshopper component with the Python GHPY compiler\]). How would I go about deleting the GH…

---

## [Creating a default value for a GHPY compiled component](https://discourse.mcneel.com/t/creating-a-default-value-for-a-ghpy-compiled-component/107245)

<div class="topic-metadata">

**Author:** [@mp1](https://discourse.mcneel.com/u/mp1)\
**Replies:** 3\
**Last updated:** [August 17, 2020, 10:37pm UTC](https://discourse.mcneel.com/t/creating-a-default-value-for-a-ghpy-compiled-component/107245 "2020-08-17T22:37:57Z")

</div>

---

## [Clarity on GHPY component guid](https://discourse.mcneel.com/t/clarity-on-ghpy-component-guid/95672)

<div class="topic-metadata">

**Author:** [@yun.sung](https://discourse.mcneel.com/u/yun.sung)\
**Replies:** 26\
**Last updated:** [February 4, 2020, 1:50am UTC](https://discourse.mcneel.com/t/clarity-on-ghpy-component-guid/95672 "2020-02-04T01:50:29Z")

</div>

Hi, I am compiling GHPY, and want to clarify what does each GUID (there are two) in each GHPY do? There is a component GUID, and there is an assembly GUID. I understand that the component GUID ensures that your existin…

---

## [GH Python Compiled Component Custom Preview Display](https://discourse.mcneel.com/t/gh-python-compiled-component-custom-preview-display/63813)

<div class="topic-metadata">

**Author:** [@dadandroid](https://discourse.mcneel.com/u/dadandroid)\
**Replies:** 2\
**Last updated:** [May 29, 2018, 1:28pm UTC](https://discourse.mcneel.com/t/gh-python-compiled-component-custom-preview-display/63813 "2018-05-29T13:28:11Z")

</div>

Hi I’ve been compiling GHpython components as instructed in the following post by @piac: with particular interest in accessing the DrawViewport functionalities for custom display, similar to the C# component. When I …

---

## [Tutorial: creating a Grasshopper component with the Python GHPY compiler](https://discourse.mcneel.com/t/tutorial-creating-a-grasshopper-component-with-the-python-ghpy-compiler/38552)

<div class="topic-metadata">

**Author:** [@piac](https://discourse.mcneel.com/u/piac)\
**Replies:** 49\
**Last updated:** [May 7, 2019, 8:51pm UTC](https://discourse.mcneel.com/t/tutorial-creating-a-grasshopper-component-with-the-python-ghpy-compiler/38552 "2019-05-07T20:51:36Z")

</div>

\[2025 update: McNeel no longer suggests or supports this compilation method in new versions of Rhino\] GhPython in Rhino WIP ships with an all-Rhino Python compiler that can be used to create .Net compiled assemblies cont…

---

## [Unexpected token '\<newline\>'](https://discourse.mcneel.com/t/unexpected-token-newline/79633)

<div class="topic-metadata">

**Author:** [@Andrew\_Mole](https://discourse.mcneel.com/u/Andrew_Mole)\
**Replies:** 4\
**Last updated:** [March 10, 2019, 12:14pm UTC](https://discourse.mcneel.com/t/unexpected-token-newline/79633 "2019-03-10T12:14:32Z")

</div>

I am trying to work with @piac 's GHPY example, but I am having problems compiling. This is a new problem that I hadn’t had before. It seems to be complaining about my formatting, but I can’t see anything wrong. I can’t …

---

## [Is ghdoc of GhPython component not available in cluster?](https://discourse.mcneel.com/t/is-ghdoc-of-ghpython-component-not-available-in-cluster/71236)

<div class="topic-metadata">

**Author:** [@Will\_Wang](https://discourse.mcneel.com/u/Will_Wang)\
**Replies:** 9\
**Last updated:** [September 19, 2018, 3:17pm UTC](https://discourse.mcneel.com/t/is-ghdoc-of-ghpython-component-not-available-in-cluster/71236 "2018-09-19T15:17:51Z")

</div>

is it true for ghenv too? I tried ghdoc.Path but when the GhPy is in cluster, ghdoc is None

---

## [AdditionalHelpFromDocStrings for .ghpy](https://discourse.mcneel.com/t/additionalhelpfromdocstrings-for-ghpy/68348)

<div class="topic-metadata">

**Author:** [@ondrej-vesely](https://discourse.mcneel.com/u/ondrej-vesely)\
**Replies:** 5\
**Last updated:** [August 9, 2018, 8:00am UTC](https://discourse.mcneel.com/t/additionalhelpfromdocstrings-for-ghpy/68348 "2018-08-09T08:00:35Z")

</div>

Is there a way to sort components inside Subcategories with dividers for compiled Python components? ghenv.Component.AdditionalHelpFromDocStrings self.AdditionalHelpFromDocStrings Both options seem to be ignored in com…

---

## [GHPY plugins and IronPython installations](https://discourse.mcneel.com/t/ghpy-plugins-and-ironpython-installations/64939)

<div class="topic-metadata">

**Author:** [@fjurious](https://discourse.mcneel.com/u/fjurious)\
**Replies:** 5\
**Last updated:** [June 26, 2018, 8:23am UTC](https://discourse.mcneel.com/t/ghpy-plugins-and-ironpython-installations/64939 "2018-06-26T08:23:57Z")

</div>

I know there’s been an issue with IronPython compatibilities between independent installations and Rhino’s, and I’m wondering what best practices might be for dealing with it in the long term, on both the developer’s and…
