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

Automatic Array, why do I have problems with a vector 3D?

@eagishtein wrote: I am trying to make a script that allows a user to pick an object to array and the automatically generates the correct amount of objects. I am slowly building this program up so...

View Article


Iterate over list of guids error

@jackshaftoe wrote: I’m trying to convert all polysurfaces to blocks for export to sketchup but the code exits with error “iteration over non-sequence of type Guid”. import rhinoscriptsyntax as rs...

View Article


Image may be NSFW.
Clik here to view.

[Python] Printing Catalogue into Multiple PDFs

@ShynnSup wrote: Hi guys, I was wondering if someone could help me write a script to automate a very tedious workflow. I want to keep this simple. I work by organizing multiple 2D drawings inside a...

View Article

VisualArq API

@lando.schumpich wrote: Hello @enric, I read in your post about the ne features of va2.4 that there now is a scripting API. Can you link me to some samples of using it? I can’t seem to find any. Many...

View Article

Possible define an image and assign to a material?

@Holo wrote: Hi guys, is it possible for me to define an image (from scratch, pixle by pixle) and assign that as a texture to a material? I was thinking in the same way an image file can be embedded...

View Article


Image may be NSFW.
Clik here to view.

[Issue][Python] Running multiple scripts in a single button

@ivelin.peychev wrote: Maybe it is designed like this I don’t know. When adding multiple scripts in a single button, any rs.GetObjects() in there is ignored. All scripts run without prompting request...

View Article

Image may be NSFW.
Clik here to view.

Rhino.Geometry.Morph

@ivelin.peychev wrote: What is this used for? Some real life examples? Posts: 8 Participants: 3 Read full topic

View Article

Open and run Grasshopper from a Batch file

@tmanuel.inumlab wrote: Hello! I have an another question, I’d like to run my rhino and grasshopper file from a Batch file, my file Batch is: @ECHO OFF cd...

View Article


Xyz coordinates to replace a mouse click

@philshapiro wrote: Hi, The Curve Boolean command requires a mouse click, I would like to script this command but instead of using a mouse click I need to enter a location by it’s coordinates. Thanks...

View Article


Flip in VBscript

@momooinstagram wrote: Hei how to Flip a surface in vb script ? Posts: 2 Participants: 2 Read full topic

View Article

Image may be NSFW.
Clik here to view.

[Python] filtering blocks in rs.GetObject() missing

@ivelin.peychev wrote: image.png784×204 10.5 KB Posts: 11 Participants: 3 Read full topic

View Article

AddSweep2 polysurface or surface?

@deskripta wrote: Hello, I noticed that rhinoscript AddSweep2 creates polysurface on one machine, and a surface on another. The same input is given on both computers: a line, a polyline for the rails,...

View Article

[python] Nested blocks as nested lists?

@ivelin.peychev wrote: Is there a way I can get the nested blocks as nested lists? So far I see I can get all blocks as a single list. Posts: 3 Participants: 2 Read full topic

View Article


[python] getting block's parent block

@ivelin.peychev wrote: Is there a way to find the parent block of a nested block, programatically? Posts: 3 Participants: 2 Read full topic

View Article

Check if Grasshopper is active using Python script

@siemen wrote: Is there a way to see if Grasshopper is active using pythonscript? And if it’s not active, to launch Grasshopper? I’d assume it would be by checking if the grasshopper plug in is loaded...

View Article


Extract surface data using python script

@jrlee8290 wrote: Hi there, I am currently working on a project where I would like to optimise the parameters of a surface model. The surface model is generated from Rhino. So I am trying to extract...

View Article

Image may be NSFW.
Clik here to view.

[Error] in rs.MovePlane() example

@ivelin.peychev wrote: If you fix the typo in rs.ViewCplane() to rs.ViewCPlane() there’s another error: image.png817×401 10.5 KB Could anyone explain to me how can I create named CPlanes with python?...

View Article


[python] How to create a box from two points (diagonal)

@ivelin.peychev wrote: Is there a single method that does that but I cannot find due to it’s weird name or I just have to do it in several steps? Thanks in advance. Posts: 7 Participants: 2 Read full...

View Article

Image may be NSFW.
Clik here to view.

Noob question

@ivelin.peychev wrote: Where does this syntax originate from? Comparing None (or NULL) to object instead of comparing the object with None? It annoys me, I’d love to know where does it originate from....

View Article

[Python] getting the name of sub-blocks

@ivelin.peychev wrote: this doesn’t work. I get just the name of the master-block import rhinoscriptsyntax as rs block_uuid = rs.GetObjects("Select Block(s): ",rs.filter.instance) for block_id in...

View Article
Browsing all 5791 articles
Browse latest View live