rs.OpenFileName file filter problem
Hi @Alain, i’m not sure if this could be called a bug but rs.OpenFileName seems to allow me to select an *.url file instead of an *.svg file in below example code: import rhinoscriptsyntax as rs file...
View ArticleDuplicate Layer Multiple Times Script
Hello, I made this script which creates multiple copies of a layer structure in one go. The script takes the layer you have currently selected, asks you for the number of duplicates you want, and then...
View ArticleIssue with multiple inheritance of Eto.Forms.Dialog with py3 in rhino8
Hi there, I am trying to port my rhinoscripts from ironPython2.7 to python3 in rhino8. I often use a mechanism that inherits multiple parent classes to combine Eto.Forms.Dialog and Eto.Forms.Form....
View ArticleETO forms and Radio Buttons
Hi hope you all had a good Christmas. I am struggling with an ETO form and need some assistance. Can anyone please show me the code that when I select the radio button for Fit Plane the input box for...
View ArticlePython rs.ObjectsByType() bug in python3
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...
View ArticleC# script about mesh report not working with solid mesh
Mesh Report Debug V0.gh (1.1 MB) Hi, I am trying to learn C# scripting, and I’ve created a simple script that generates a mesh report. However, I’m encountering an issue—it doesn’t work with meshes...
View ArticleC# Grasshopper C# scripting component IntelliSense seems not to work
Grasshopper C# scripting component IntelliSense seems not to work. I can’t find a Preference option to enable. From the Forums I do know this has been a sporadic problem, but not sure why I am...
View ArticleCatching MessageBox & Popups
Hi there, Is there a way to catch MessageBoxes and popup, using IronPython? I want to catch them for testing purposes. My goal is to test multiple variations of the same algorithm without being...
View ArticleBackup Up Settings, Screen, and Toolbar changes One Click
I use my floating rhino between several computers depending on where I am that day. I make improvements to my settings, toolbars, & workflow macro buttons quite a bit. It’s been a pain trying to...
View ArticleLoose fit BoundingBox
Why am I getting a extended bounding box for a plane surface. I am generating the box for a plane surface. Is there a way to get tight bounding box? Here is the C# script I am using. RhinoDoc...
View ArticleStop Debugging Button
should the button in the photo stop debugging? when I run a script, the button is grayed out. . . 2 posts - 1 participant Read full topic
View ArticleNeed help to Recreate Move Command with Custom Direction
Hello grasshoppernians! So, I want to recreate the move command in pythonscript (if it can be done directly from grasshopper better). This so I can add another option to move in a custom direction...
View ArticleWhy does modifying Leader cause the Rhino to crash?
I attempted to add control points to a Leader using the following code. The control points display correctly, but the Rhino software crashes when I try to drag any of them. Does anyone know the reason...
View ArticleError in rs.PopupMenu() location
Does anyone have a workaround for rs.PopupMenu() popping up in the wrong position? By default it is supposed to popup under the cursor, but since V7 or earlier it always is way far away for me, most...
View ArticleRemove Intersection meshes faster(Parallel)
intersect simple mesh=parrallel.gh (5.6 MB) i try write a code to remove Intersection meshes from List(remove from intersectn list all(intersect) -1) i Test 2 way first for loop and second parrallel;...
View ArticleForce render mesh creation on object without displaying it?
I am looking at creating arrays of thousands of identical objects, my idea is to force the render mesh on the first object before arraying it so the render mesh is copied along with the object...
View ArticleRhinoApp.Runscript not working in C# script from toolbar
I am trying to use RhinoApp.Runscript inside a C# script. When I hit the ‘Run’ button inside the ScriptEditor, it works perfectly. However I would like to assign the script to a toolbar button, with...
View ArticleError code script link "Offset-Curve"
in Rh8 lasted update using new script editor, there are some problems with this code linked. . . www.rhino3d.com Offset Curve Demonstrates how to offset curves to one side or another by a distance....
View ArticleFind the two closest parallel lines and create a loft
I want to find the two closest parallel lines among the many lines and make a loft. Additionally, I would like to include an option that excludes lines below the entered length value. I need some...
View ArticleAdding a reference to plugin dll in C# script?
In a Python script, I can add a reference to my plugin dll, and use the plugin classes in the script, as in the following example script. Is there a way to get the same functionality in a C# script ?...
View Article