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

SelectedIndexChanged Event for GridView

Hi, I there a way to set up an event handler for a GridView? I get the following error with this line of code: self.m_gridview.SelectedIndexChanged += self.OnSelectedIndexChanged Message: ‘GridView’...

View Article


Image may be NSFW.
Clik here to view.

RC Surface.Extend directions

https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Surface_Extend.htm For directions to extend, we have the IsoStatus enumeration: image1022×293 10.2 KB...

View Article


Point color

Hello, I want to read the RGB value of a point. I used Rhino.ObjectColor function which returns a number usually the R value. How do I get G and B value of a point? 6 posts - 3 participants Read full...

View Article

curvatureGraph rareness

hello. ive prepared a model which displays good results. for x reasons i need to export exact copy of surface, either by copy-paste or by extractPt - export selected - csv file with coordinates… i...

View Article

Get largest surface in polysurface

Hi Is there a way to select a polysurface and iterate through the faces to find the face or faces that are the largest in area? Eric 3 posts - 2 participants Read full topic

View Article


Getting RGB value for each pixel (RhinoScript)

Hello, I imported a jpg file with AddPictureFrame. I want to extract the color value (RGB) for each pixel. I was able to get the location of each pixel, but what function will give me the color value?...

View Article

Python Split curve with curve?

Hi guys, is it possible to easily split a curve with a curve in python and have the parts returned? In the same way that we can manually in Rhino with split? 2 posts - 2 participants Read full topic

View Article

SelBrush in Python

Hi I want to use SelBrush function in Python. There is one more thing, I want to pass a curve to this SelBrush function. Is there is a way to do this? 8 posts - 2 participants Read full topic

View Article


Image may be NSFW.
Clik here to view.

Move plane in front of surface automatically

Zrzut ekranu 2020-06-25 o 00.31.441920×1080 245 KB I am trying to create plane (blue one) that is in front of my red surface. I did it with _PlaneThroughPt command using red object points. Is there a...

View Article


Auto-generate Make 2D from Named Position and write to new .3dm file

Hello, After making a Named Position, I’d like to: Select objects of that Named Position Set View to Isometric SW Run Make 2D command (with Projection set to View, Object Properties set to From Input...

View Article

Image may be NSFW.
Clik here to view.

Gh python save only previous variable and compare

Hi all, I’m still very new to python and was wondering if there’s a quick way to be able to check whether the latest variable is greater or smaller than the previous input. I am trying to animate...

View Article

Example of CreateFilletEdges

Is there an example posted somewhere using this command: Brep.CreateFilletEdges Method Goal is to chamfer the edge of a polysurface. Eric 4 posts - 2 participants Read full topic

View Article

Generate IFC file

Hi there, I am developing a minimal sketch plugin and want to provide IFC functionality for that as well. I mean in general it would be useful to export rhino models in IFC file. I think of a simple...

View Article


Image may be NSFW.
Clik here to view.

Trying to create multiple views and clipping planes that clip them, but only...

I am trying to create multiple plan views in my model with each view clipped by two planes,one for hiding objects below level and one for cut level. currently, it creates the right views, but i fail...

View Article

Image may be NSFW.
Clik here to view.

Help, python for Rhino dosen't show the results

Hello there, I’m just start to lern python for Rhino on my Mac. But when I typ the print (“hello world”) in the Rhino python editor, there is no result been shown in the Output field. ps. Rhino...

View Article


rs.GetObject / Rhinocommon Gets

If you do the following: get = rs.GetObject( “Pick”, rs.filter.polysurface | rs.filter.surface) Why does rs.filter.polysurface | rs.filter.surface work, in terms of that style / notation, for being...

View Article

Copy objects independent from group

Hi I’m using CopyObjects and find that they maintain their grouping with the original group or groups. I want an independent copy maintaining their grouping order but within their own independent...

View Article


Image may be NSFW.
Clik here to view.

Script for plug in material to rhino material

Hi all I’m trying to write a script to convert files with V-ray or Octane materials to Rhino Render materials before exporting to real time renders. Basically, I’m trying to script unchecking the...

View Article

Image may be NSFW.
Clik here to view.

List Trouble - Python/Grasshopper

Hi there - I’m hoping to get some help on a script that’s been causing me issues. I’ve been trying to group a list of values into 20 or so groups based on a range of values for each group. For...

View Article

Image may be NSFW.
Clik here to view.

Using SelKeyValue command for BIM purposes

Hi everyone, I have a building (meshes) and I have about 10 Layers corresponding to different results sets. But I also want to be able to filter the vsible meshes by groups corresponding to different...

View Article
Browsing all 4131 articles
Browse latest View live