Quantcast
Channel: Scripting - McNeel Forum
Browsing all 5791 articles
Browse latest View live
↧

Alternative to Revert command for Rhino 4.0?

@krsnadas wrote: _Revert is a new command in Rhino 5. I am trying to script on a Rhino 4.0 system and require a functional replica of the Revert command. UndoMultiple and UndoSelected are not very...

View Article


RS : Stripping an object's render mesh

@jonah wrote: Hi. Using Rhinoscript - I need to force a redraw of several hundred object's custom render mesh without redrawing the screen. Dale recently tipped me off to using "Rhino.BoundingBox" to...

View Article


Rhino 4.0 crashes when calling V-Ray via script

@krsnadas wrote: This line in my script which is supposed to make 'V-Ray for Matrix' the default renderer crashes Rhino 4.0. Why does this happen?...

View Article

Paid Scripting

@thomas84 wrote: Hi! We are a shipdesign and engineering company and we work with rhino. From the first curve to the cnc-parts we use rhino and we love it. In the process I tried to create some...

View Article

Image may be NSFW.
Clik here to view.

Invert effect of the pipe function

@BaptisteC wrote: Hi there,I'd like to script a function which would analyse a pipe-shaped polysurfaces (steel reinforcements). The aim is to find the developped length and diameter of each selected...

View Article


Scripting Array command creates error with EnableRedraw

@Keith1634 wrote: When I script the Array command (Rhino.Command "-Array") it defaults to EnableRedraw=True - is there a way to keep EnableRedraw=False ? thx-Keith Posts: 6 Participants: 3 Read full...

View Article

Image may be NSFW.
Clik here to view.

Scripting a Site

@Daniel_Smith wrote: Hi, I am very new to scripting and thought it would be a good test for me to try and write a script to help with creating a simple site from an imported AutoCAD drawing. Basically...

View Article

Image may be NSFW.
Clik here to view.

Extrusion type 1073741824 missing in documentation Pyhthon Method ObjectsByType

@Willem wrote: Hi, I found that in the documentation on rhinoscriptsyntax.ObjectsByType the ExtrusionType is missing. Pasted image579x763 13.4 KB -Willem Posts: 2 Participants: 2 Read full topic

View Article


Image may be NSFW.
Clik here to view.

RhinoScript Editor IsNull not showing as function

@Mike_Fleck wrote: I am working through a tutorial and the IsNull command is not showing blue within the editor unlike the pdf tutorial. I think this is causing an endless increment, that I can esc....

View Article


Image may be NSFW.
Clik here to view.

Removing duplicate material names in layer panel

@Keith1634 wrote: when I run this script the actual material remains unchanged in the edit panel. Dim arrMat arrMat = rhino.MaterialIndices Dim x x = 0 For x=0 To ubound(arrmat) - 1 Dim matName...

View Article

Split curve in Python

@Hughes_Tooling wrote: How can I select a point on a curve and split the curve at that point. SplitCurve in the script below splits the curve but how do I use the point I've picked to make the correct...

View Article

Evaluate Curve not returning point object

@brobes05 wrote: Hello I am not good at programming, but I am just learning. Anyway I am trying to get the 'evalute curve' function to work like it does in grasshopper. Here is my code thank you in...

View Article

Best way to add a color [ ARGB ] when you create a Layer?

@RhinoFabStudio wrote: May I ask, in Python, what is the best way to create a new layer, and add a color, when you know the RGB number for the color... Thanks Andres Posts: 3 Participants: 3 Read full...

View Article


Help: Easiest way to "listen" to changes?

@Holo wrote: I need a way to autoupdate a meshpatch (Since it doesn't have history)So is it an (easy) way to do that in Python?Or is it best to put it all on a layer and manually run the update each...

View Article

Export script to recreate the object in a layer

@mazeboard wrote: Hi I would like to get the script that recreates the objects on a given layer, is this possible? For example, I created a cylinder and a box on layer 1, than I want to get the script...

View Article


Gumball in Rhino Python

@danieldavis wrote: The examples page only had sample code for a gumball in C# and VB. In case anyone needs it, I've tried to convert the gumball example to Python. The code lacks some of the features...

View Article

Can I return a value to command line(Rhino Python)

@Octav1an wrote: Hello guys, Im writing some macros in python, and i want to return a message to rhino command line, how can i do it?, I dont want to use messageBox because its a bit annoying all the...

View Article


RhinoScript TextDot methods issue

@Jarek wrote: Hi @dale, Just ran into something weird - all the TextDot property methods (text, size, font and location) do not work if the object is not visible. Not sure if this is intentional or a...

View Article

Python isdecimal()

@Hughes_Tooling wrote: How can I use isdecimal() on a string returned by PropertyListBox. I can't get this code to work for some reason. if results: for number in results: number = unicode(number,...

View Article

Rhino.RhinoApp.RunScript - Make2D

@richard_schaffranek wrote: Hallo all, I was wondering how to find out the options for commands when exectuding them with Rhino.RhinoApp.RunScript? Especialy I am interested in the Make2D command and...

View Article
Browsing all 5791 articles
Browse latest View live