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

How to remove a Decal of an object

(topic deleted by author) 1 post - 1 participant Read full topic

View Article


Image may be NSFW.
Clik here to view.

Add() method of the Decals class doesn't work

Hello! Add() method should adds a new Decal to the decals list of an object, but when I run the Add method more than one time I don’t get more than the first added decal (can observe it at Properties...

View Article


Image may be NSFW.
Clik here to view.

Get current PrintDisplay state with rhinoscript

Hi, does anyone know how I cen get the current state of printdisplay state using rhinoscriptsyntax or rhinocommon? Thanks! Tim 3 posts - 3 participants Read full topic

View Article

Structural engineering scripting (Python and hops) help needed

Our team has been developing a structural solver for Grassshopper for a few years now. We need a structural engineer, or engineer who can do structural solving for beams, columns, wind loads, and...

View Article

Layout : Zoom extents on details workaround (python)

Hi, I try to zoom objects in a detail programmatically to generate a large number of layouts. I try to avoid the use of the UI but I was forced to activate a detail to be able to make changes to its...

View Article


Image may be NSFW.
Clik here to view.

How to sort layouts order by print order in a list

Hello,I wrote a script to rename several layouts with serial names. Exmaple: form to now it works,but when I change these layouts print order, It turned like this: I reconized that the layouts order...

View Article

How to get a Bitmap by GhPython

How to get a Bitmap by help of GhPython using its URL on a hard disk 2 posts - 2 participants Read full topic

View Article

Newbie here - What to learn first? GH/PY/C#/RhinoCommon/RhinoInside/etc

Hello. I’m not sure if this is the right place to ask. My Goal I want to model using Grasshopper and to build my own Rhino/GH plugins & scripts so I can automate and integrate Rhino with other...

View Article


Write to a text file

There is the possibility “rhino.WriteTextFile(Textfile, Array)” strFile = Rhino.SaveFileName(“Save”, “Text Files (.txt)|.txt||”) Rhino.Print “N” & N & " Z" & Variable_1 ’ write in the...

View Article


Image may be NSFW.
Clik here to view.

Inverted digits when converted to line

Inverted digits when converted to line please help how to solve this problem on rhino 7 [image] 3 posts - 3 participants Read full topic

View Article

Image may be NSFW.
Clik here to view.

How to only get the 'visible' part of an intersection curve

Hi, Here’s my problem: I’m intersecting a closed shape (blue, a sphere for the example, but it can be anything else) with a set of other objects (black) this produce a set of intersection closed...

View Article

ConvertTextToGeometry command not working correctly

I tried the ConvertTextToGeometry command and I tried the rhinoscript example for converting text to geomtery and they both output geometry however the text is not correct. It always converts the text...

View Article

Point on Curves

Python: How do I get a user to select a single point from multiple curves. I know GetPointOnCurve gets a single point from a single curve. That’s not what I’m looking for. I want a single point from...

View Article


No module named 'System.Drawing.Color' in Rhino Code Editor

Hi, I am playing around with a few of my old scripts in the new Rhino Code Editor on the Mac. I have a colour gradient maker that works when run through the old Tools>PythonScript>Edit , but...

View Article

Image may be NSFW.
Clik here to view.

Field of View GetCameraAngle Issues

Hello! I’m currently trying to set up a camera so that it chooses a random position in spherical coordinates around the origin (within specified ranges) and then zooms the camera into the extents of...

View Article


Create custom objects "Type" with attributes

Hello Is there anyway in C# to create a Rhino object type? By this I mean creating any geometry whether a curve, polyline, box, sphere etc. that has a “Type” attribute, in this case just a preset...

View Article

Measuring tips/tricks/automation

I’ve been wondering if anyone uses macros or scripts to aid in performing measurement in Rhino? this might be dimensioning, but I’m more talking about check dimensions. Our office also uses Catia,...

View Article


Setting Up Consistent Camera Views (How To)

I have approx. 100 3D files that I need to capture as a black and white line raster image. Each is a separate 3DM file. Is there a way to open/load each using the same perspective settings (parallel)?...

View Article

Failed to change the "InactiveTabBackground" color by Python

hi guys! I was trying to modify the color of Rhino interface these days by Python. All the color change i expected had almost taken effect, except for...

View Article

Script compiler // python script not executing

Hi, I have a python script that i created using this example that works when i run through the python editor or call it via the command line. however, when i use the script compiler and install it via...

View Article
Browsing all 5938 articles
Browse latest View live