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

Image may be NSFW.
Clik here to view.

Add startup script problem

@Hughes_Tooling wrote: You used to be able to add a script to your start scripts using Rhino.AddStartupScript Rhino.LastLoadedScriptFile With Rhino 6 this causes an error. Does this still work and...

View Article


Image may be NSFW.
Clik here to view.

How to export file step using

@s.branca wrote: I want to export automaticaly a step file using Phyton. I am trying folder = rs.browsefolder() folder = folder+"\name" rs.command( “_-Export " + str(folder)+”.step"+"_Enter") i...

View Article


Image may be NSFW.
Clik here to view.

Scripting blend curve from a list of curves

@velopl wrote: Hi I’m trying to script in python rg.Curve.CreateBlendCurve from a list of curves. The concept is -as a input, have a list of curves -want to blend first one with the second one, second...

View Article

Make2d current Cplane option with Rhinocommon

@AleksandarSM wrote: In Rhino 6, for method HiddenLineDrawing is there a way to set a current CPlane instead of the viewport through RhinoCommon? In Rhino 5 I could choose Current View or Current...

View Article

"isinstance" Integer Bug?

@spineribjoint1 wrote: Following snippet outputs “No”. Any ideas why? Can anyone replicate the problem. number = 12345678901 if isinstance(number, int): print("Yes") else: print("No") Posts: 4...

View Article


Enscape Scipting (python rhinoscript)

@samuel.n.sweeney wrote: Hello, Does anyone know if there is a way to automatically open up enscape through a python script, take a screenshot of the selected view and exit. Ideally I want to have a...

View Article

Image may be NSFW.
Clik here to view.

GH Python pywin32 error: "Runtime error (ImportException): No module named...

@ShynnSup wrote: Hi everyone, I am trying to print a file directly from the GHPython component, getting past the print dialog window. According to many pages on the internet I need to install the...

View Article

How get LayerTable names in Grasshopper Python

@flokart wrote: Hi all, i tried to get.Selected Layer names into grasshopper with python. but i have no idea how the rh.DocObjects.Tables.LayerTable works. A small example would be very helpful....

View Article


Checking for rhinoscript BooleanUnion failure returning an all-zero GUID

@S_L wrote: I have a python script that calls rs.BooleanUnion. In some cases the union appears to fail but it returns an all-zero GUID 00000000-0000-0000-0000-000000000000 instead of None. How can I...

View Article


Replace right view with left view in python and Rhinocommon

@AleksandarSM wrote: Hello, I need help to replace right view with left view with python and rhinocommon thanks in advance Aleksandar Posts: 2 Participants: 2 Read full topic

View Article

Need to get the gem data and weight without opening the 3dm file

@springware wrote: I need utility program, script, API, or SDK, anything to get the gem data + weight data without opening the 3dm file. Anything available? Posts: 2 Participants: 2 Read full topic

View Article

Script for import multiple file

@onlyforpeace wrote: Hello! I have a folder full of contour dxf, to open in rhino, but when I drope them in rhino, they are all in the same place: on the origin. I would like to make a script that...

View Article

Delaunay Problem in C#

@pedro.iserte.llacer wrote: Hi everyone, I’ve recently started scripting in C# in Grasshopper, and I’ve found a problem when trying to make a simple Delaunay mesh. I am not able Delauney c#.gh (17.1...

View Article


Offset curve on surface and selection of surface in brep

@s.branca wrote: Hi, i am trying to select a surface into a brep and obtain a offsetcurveonsurface metod. This code is a copypaste of all the piece that i found useful but i realy cannot understand...

View Article

PrintDisplay

@RogerD wrote: Hi Can anyone tell me if PrintDisplay has a Rhino VB Script command. Roger Posts: 2 Participants: 2 Read full topic

View Article


Image may be NSFW.
Clik here to view.

Rhinoscriptsyntax without rhino possible?

@lesan wrote: Hey, I try to use the rhinoscriptsyntax library in another program, namely unreal-engine. Is it possible to do so? I downloaded the library from here:...

View Article

Image may be NSFW.
Clik here to view.

How set all basic material values via python?

@lordpingu wrote: Hi, we want to automatically generate material in Rhino via Python from a importet cvs list. It works fine, but we wonder how one can set all posible values? We miss a function for...

View Article


Image may be NSFW.
Clik here to view.

Update a list inside a nested loop

@youssef.eskandar wrote: Just as an abstract logic, I am trying to pass a value across a list in a nested loop for some reason the sub-loop wont use the the values in the previous iterations, it works...

View Article

GetObject with toggle option in menu

@siemen wrote: Hi guys, I’m stuck here. Trying to create a custom getobject with a toggle option. The toggle option should be flipable forever until I select an object. When I select a single object I...

View Article

Image may be NSFW.
Clik here to view.

Eto.Forms.TextBox() causing error

@Will_Wang wrote: If i replace the TextBox() with Label() on line 20 it runs fine. Any ideas? Posts: 1 Participants: 1 Read full topic

View Article
Browsing all 5743 articles
Browse latest View live