Disable or enable control in ETO form
@eric.bunn wrote: How would one disable or enable a control on an ETO form? For example based on the state of a checkbox a control would be enabled or disabled for operator input. Eric Posts: 3...
View ArticleBad GUID: Message: 00000000-0000-0000-0000-000000000000 does not exist in...
@eric.bunn wrote: Hi, I am coming up with this error when running the line of code pasted below: Message: 00000000-0000-0000-0000-000000000000 does not exist in ObjectTable I am assuming this is some...
View ArticleChange Text Block Annotation Style
@miano wrote: How would one change the annotation style for all the selected text blocks in a file? Have found an example of how to do it with dimensions but it does not work with text blocks. Posts:...
View ArticlePython - Recursion error. Fractal does not want to multiply
@lelesong.gothenburg wrote: Hello Everyone, I am a python beginner and I am having hard time to make recursion working. I want to create rectangle fractal which will multiply itself as it goes smaller...
View ArticleC# sort points along line
@daniel.c wrote: Hello, I’m writing C# script in grasshopper. I want to sort points along polyline and create new polyline that goes trough sorted points. I came up with following code: Point3d[]...
View ArticleWork in progress - Quick area sketching overview
@sonderskovmathias wrote: Hi all, I’m slowly picking up C# after a few years in Python-land. One of the first scripts I decided to make is a quick GH component, that I’ll share with you guys. It works...
View ArticleHow to change each different colors for some loft surface
@hakuko.hryk wrote: Hi, I 'm a beginner of scripting in gh. Just I astarted as practice by combining some example files. I struggling how to change each different colors for some loft surface. result...
View ArticleWill Rhino 7 use python 2.7 or 3.8?
@Erdem wrote: Hello everyone, I hope you are safe! I think there are good improvements in Python 3.8 as opposed to 2.7 so I was wondering if at any stage new Python will be implemented in R7 or not?...
View ArticleWhy does this mesh needs rebuilding? And how in Python?
@Holo wrote: Hi guys, I have a scritp that builds simple roads on mesh terrains: image874×542 206 KB But the road looks bumpy until I run the “RebuildMesh” command, and then it looks like this:...
View ArticleUnroller Class Confusion?
@TianYing wrote: I am trying to reproduce the UnrollSrf(Label=Yes) command in rhino using the IronPython component in grasshopper. I am using the functions of Rhino.Geometry.Unroller and dealing with...
View ArticleReparametrize geometry python
@onlyforpeace wrote: Hi, is there a reparametrize method in python, like in grasshopper? to make the domain of a curve from 0 to 1? Posts: 4 Participants: 4 Read full topic
View ArticleMore question about command InterpCrvOnSrf
@1792927545 wrote: when I use the ‘_InterpCrvOnSrf’ command, it can span the seams of closed surfaces. But when I use the python script “rs.AddInterpCrvOnSrf( surface_id, [point1, point2])”, it will...
View ArticleMesh quads and normals with Python?
@Michael_Meyer wrote: Hi…, I want to get all mesh quads with their vertices and their quad normal in Python. I don’t see, which methods to use:...
View ArticleCumulative volume of meshes and srfs and polysrfs
@phcreates wrote: In Rhinoscript, how can I get the cumulative volume of an array of objects, if the array can contain surfaces, polysurfaces, and meshes? For Rhino 6/7, windows Posts: 2 Participants:...
View ArticleGH batch export of Curves to PDF, Image, or AI
@brobes05 wrote: Hi, I am trying to use RhinoCommon to batch export branches of curves sequentially as individual files. Here is what I have tried: FilePDF class. it seems I have to create a page to...
View ArticleImporting IronPython libraries
@D.Ronald wrote: I also have the same problem importing other IronPython libraries, such as the urllib and urllib2 for writing web requests. I’m using Rhino 6 SR 24 on Windows. Posts: 8 Participants:...
View ArticleRhino C++ GetUserString
@aitorerana wrote: Hi, I’ve a problem with mi Rhino C++ plugin. I want to set some attibutes to some objects. I found this code and aparently the first part works propertly (I think) but to ensure I...
View ArticleExterior surfaces only
@eric.bunn wrote: In Solidworks one can save an assembly file as an exterior surface only part and for complex assemblies it reduces file sizes dramatically. It is common for me to get customer...
View ArticleRhinoScript Object ID
@rhorsefield wrote: The Rhino.IsObject(strID) always returns false if I manually set strID to a valid ID as returned by Rhino’s List command. For instance: strID =...
View Article[Python] Add Curve Piping Render Property to curves
@Dow wrote: Hi, I need to add the Curve Piping Render Property to a series of curves (in Python). I have searched the RhinoCommon API docs, examples, and here on the forum without any success. Perhaps...
View Article