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

A script to change layers of delete elements in layout space

@cosmas wrote: Image that you have a file with LOTS of layout pages and there are elements sprinkled all over those pages that you want to modify without taking the time to go to each page to do it....

View Article


Determining the points in a closed curve

@kamyar69kamani wrote: Hi, I have more than 100 points and about 30 closed curves. I want to determine, which points are locating in a certain curve, by selecting the curve or typing the name of it....

View Article


rs.LayerVisible and User Strings

@emilio wrote: Hi all There might be something strange with rhinoscriptsyntax.LayerVisible Calling rs.LayerVisible seems to clear user strings attached to the layer import Rhino import scriptcontext...

View Article

Converting Python Script to GH Python Component

@Nick_Bruscia wrote: Hi All, I could use a hand converting a python script into a GH python component. (noob alert) Attached are both files. I’m getting null outputs from the GH component, and I...

View Article

Selection Filter-Help is needed

@emquies wrote: Hi I Hope It’s to ask about Macros, I am trying to write a Macro with “SelFilter” Or “SelFilter2” & I get An error message I tried also “-SelFilter” ,"-SelFilter2" Can Some Help...

View Article


Image may be NSFW.
Clik here to view.

rs.AddEllipse

@petozatko89 wrote: Hi there, I´m trying my scripts from rhino 5 in rhino 6, and came across one problem. image.png1253x714 141 KB image.png1755x849 205 KB This is obviously a part of a much longer...

View Article

Script to match a hatch?

@cosmas wrote: Hello friends, Wondering if some kind soul could write a script that would allow us to select a closed curve (or several), and match a hatch that’s already on our drawing. This would...

View Article

Shared Edge of Adjacent Mesh Faces

@timothytai wrote: Hi all, Is there any method in Rhinocommon to access the shared edge between two adjacent mesh faces? I can only seem to find methods for getting the ids of adjacent faces, but...

View Article


Eventwatcher example help

@Holo wrote: Hi, I am trying to figure out how an event watcher works and first of all I wonder if I can have one object following another as if they were in a block together? My first goal is to have...

View Article


Bug in Python for Rhino in Rhino 6 with SelNone and Cancel?

@benh wrote: Hello, a python script that I had set up in Rhino 5 is no longer working in Rhino 6 because the rs.Command(‘SelNone’) is not cancelling a selection. I have not learned what the difference...

View Article

CurveAreaCentroid error

@gavinmetzler wrote: In the attached file which has one closed planar curve, if I use the Rhino command _AreaCentroid, it gives a correct result, but if in RhinoScript I use the CurveAreaCentroid...

View Article

OnCancelScript

@declan wrote: Hi all, I’m going to go ahead and apologize for being a noob, and also for the fact that I can’t post my code because it is work-related. Hopefully I can describe my issue well enough…...

View Article

Start Rhino from MS Visual Studio

@wilfriedseibt wrote: It´s a good thing interact with Rhino 5 over COM interface. Rhino 6 I cannot start. Error Message from Visual Studio: Es konnte kein Verweis auf “Rhinoceros 6 Type Library”...

View Article


Image may be NSFW.
Clik here to view.

GH C# transfering different data type

@11194 wrote: Hello I want to transfer different datatype from one to another. Datatype is defined my own class. public class particle { public Matrix a; public Matrix b; public int c; }...

View Article

Indexing list of Points3d in C# for grasshopper returns error: Index was out...

@davidsaead123 wrote: Hi All, I have a list of Boolean items that correlate with lists of x, y, and z values. I try to reference the index of one of the list of points that I am creating and it...

View Article


Image may be NSFW.
Clik here to view.

C# Recompute specific component

@11194 wrote: Hi How can I recompute specific component when I push the button in C# ? image.jpg2499x1573 382 KB Best, Shimpei Posts: 4 Participants: 3 Read full topic

View Article

Brep.ClosestPoint ComponentIndexType

@Jess wrote: Hi All, @stevebaer , is it correct that the ComponentIndexType from Brep.ClosestPoint is always of type Face, if the Brep is a simple Box, i.e. a polysurface made from untrimmed surfaces...

View Article


Creating sublayers with python

@siemen wrote: Hi guys. I have a simple python script that creates a few layers with different colors which I think I based on a script I found from Helvetosaur here on the forum (I think). Now I’m...

View Article

Image may be NSFW.
Clik here to view.

Transforming solid bodies into FEM analysis viable surfaces

@kinsasa04 wrote: Hello everyone. I’m just getting into Rhinoscript and kindly ask you to be patient when reading this. I’m trying to write a script that would turn solid bodies, mainly plates and...

View Article

Help needed writing script Rhino 5

@leane.darnold wrote: Custom script needed for .OBJ file (3D scan image) for orientation to create new Local Coordinate System. Need to coordinate with legacy script already in place. Private message...

View Article
Browsing all 5821 articles
Browse latest View live