Rhino viewport rotate/pan/zoom event in Grasshopper
Hi I got an eventlistener to work (based on other threads in here) that check if the active viewport is changed or modified: private void RunScript(ref object A) { A = "Test"; } // <Custom...
View ArticleSTEP import script: Object Name from filename
Hi everybody, ~Long time rhino user, first time scripter~ I am trying to find a python script to assign object names based on the filename of the .step file to be imported. Looks like there are plenty...
View ArticleTexture Mapping out Geometry
hi i created script c# for set XYZ Size of Texture Material(and we can bake that object with Material in Rhino by siz) but output for bake only== Mesh ! and i need bake it for example Brep Surface...
View ArticleAssigning Display Colors to Surfaces Based on a List of Numbers
Hello everyone, I’m currently working on a Grasshopper project where I have two lists of equal length. One list consists of numbers, such as [0, 1, 1, 2, 0, 1, 1, 3, 0, 1, 1, 0], and the other list...
View ArticleRemote Sender/Receiver using GHPython
Hi All, just out of interest, can we build a remote component as such using basic Gh python? 1 post - 1 participant Read full topic
View ArticleRhino 8 Script Editor unable to load/save to mapped network drive
I’m using Rhino 8 BETA (8.0.23262.12303, 2023-09-19) on Windows 11 running in an vmware 16 virtual machine on a linux host. The Rhino script editor (Python, CS, etc.) is unable to save or load scripts...
View ArticleWhy is Rhinoceros with Python processing so slow?
Hello Right now we are building a system that is running Rhinoceros with python scripts on an AWS EC2 instance by using python subprocess. Development was done on a local PC. Execution on the server...
View ArticleDoes not exist in ObjectTable...?
I don’t understand why my script does work now… it was working, but since, two weeks… on one moment it return: Message: 461ae419-8c00-4a18-9184-1d51dbc5b53f does not exist in ObjectTable Traceback:...
View ArticleAny progress in SubD methods?
Hi all. Sometime I check whether or not SubD rhinocommon method have been worked on or not. … seems not? I mainly use c# scripts inside gh (which hugely scare me how it’s clunky and slow, currently),...
View ArticleOPEN SOURCE C# Script Editor Nodes in Grasshopper for Rhino 8 BETA
I just wanted to share my approach to teaching C# with parametric scripts with the NEW script editor in Rhino 8 BETA. PUBLIC OPEN SOURCE REPO: mwickerson/Csharp_Mathematics_Grasshopper: Use this...
View ArticleConnecting to particular Rhino instance externally
I’d like to pull information from a Rhino file I have open to an Office app via VBA. The particular Rhino file would be based on its filename. I could try “pushing” from Rhino, or exporting a little...
View ArticleScriptCompiler
When I go to use the RhinoScriptCompiler.exe it will not let me import my .rvb files ? When I try to use monkey box I get this error, unable to locate Rhino DotNET SDK 1. unable to locate the native...
View ArticleCan I operate AutoCAD in GhPython?
I want to call interfaces in Python to operate AutoCAD, but IronPython 2.7 does not seem to have this win32 library. I tried to find relevant posts on the forum, but the results were too few. So I...
View ArticleRhinoScriptCompiler.exe
when I go to use the RhinoScriptCompiler.exe it will not let me import my .rvb files ? when I try to use monkey box I get this error unable to locate Rhino DotNET SDK 1. unable to locate the native...
View ArticleScript or Macro to set a display color to selected objects
Hi All, I know this might be easy but I don’t know how to do it, and I didn’t find anything in the group. When I’m stitching a lot of surfaces I like to change the display color to green when they are...
View ArticlePython script runs twice
Hi, I’ve written a Python script as a command in the Rhino Python Editor. When I run it in debug mode it runs great. but if I run it from a Rhino command it runs twice. Interestingly at the end of the...
View Article[Python] Passing Options to SVG Export Command
Hi All, Got a script to svg export closed curves working and hoped that the options used would be those that are set in the dialog when doing a manual export but it seems that it’s not the case, in...
View ArticleArcCurve object has no attribute ExtremeParameters
Hi, Anyone can help me please? when I run this script for a circle, there is an error: « Message : ‘ArcCurve’ object has no attribute ‘ExtremeParameters’ crv_id = rs.GetObject(“Selct a Circle”,...
View Article