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

V6 selboundary broken? specifically on text?

@kleerkoat wrote: i just noticed that a script i had working before based off selboundary doesn’t work anymore but works fine in 5. even the default selboundary doesn’t grab text in v6. has something...

View Article


How to collaps all definitions in python editor?

@Holo wrote: Hi, whenever I open a script all definitions are expanded, and I want them to be collapsed. Is it possible to collapse all? It would make it much faster to navigate to the part that i...

View Article


Help with Rhinoscript (for a user with basic macro knowledge)

@tom.k wrote: Hi all, this is my first post. I am a Rhinoceros user, firstly, I started using this programme for work, I had no CAD background prior to using, but a decent amount of Geometry / Vector...

View Article

A value in memory

@onlyforpeace wrote: hello… i read somewhere on the forum, that it’s possible to keep a value in memory, to use more later… for example, when i make circle, rhino proposes the last value used. how can...

View Article

Batch Printing And Exporting to PDF using Python

@dcomeau wrote: How is it going everyone! I have been using Rhino for around two years now and have just started to play around with Python Scripts. For my line of work I end up printing a lot of...

View Article


Export only visible layers from block instances

@l.m.tramontini wrote: I have a project with hundreds of unique blocks, each of which has components on 5 layers. How would I go about exporting the block instances, but excluding objects from certain...

View Article

ISSUE: worksessions

@ivelin.peychev wrote: When trying to rs.MatchObjectAttributes and the source is an object from attached model, the method fails. update: There’s no error message, it simply fails to transfer the...

View Article

Object history, child and parent objects

@rhorsefield wrote: I am writing a Rhinoscript program that looks at every object in an model and generates a weight estimate of those objects that follow a specific color scheme. Part of this...

View Article


Ray3d examples?

@ivelin.peychev wrote: Hi, Are there any examples and/or workflows regarding creating rays and getting information about the hit object(s) or the coordinates of the hit(s)? Thanks in advance. Posts: 4...

View Article


TextObject alignment?

@ivelin.peychev wrote: How can one change the alignment of the text of a TextObject? There seems to be no rhinoscriptsyntax methods for this. Not even to coerce the guid to TextEntity. I also don’t...

View Article

Surface Area

@onlyforpeace wrote: hi. i work with a lot of files tere are no rhino file, but catia, solidworks, or other… so it pass by igs or step… i’ve to calculate surfaces of part of project, and sometimes the...

View Article

Not equal to

@rhorsefield wrote: The Rhinoscript documentation say to use “!=” for the not-equal-to operator. I’ve written VB for years, and not equal to is normally “<>”. If I type “!=” into Rhino’s script...

View Article

Scripting with Com4J fails "class not registered"

@burkhart.johannes wrote: Hello, I try to work with RhinoScript via Com4J. Creating an application and a interface instance works fine but I’m not able to create a RhinoScript instance. The class is...

View Article


Image may be NSFW.
Clik here to view.

Help for a script creating CNC paths

@gebert.c wrote: Hello everybody, I’m looking for a script to create CNC paths. as a start, a line on the solid should be duplicated and extended by an original factor. Another line on the solid...

View Article

Eto Buton Argument sender, e

@onlyforpeace wrote: Hello! i’ve got one buton on my form, behind this button there is: def OnbspieceClick(self,sender,e): self.dict_current={} self.dict_current['Client']=self.textbox_client.Text ......

View Article


Rhino Coders

@roger2 wrote: Hello, Does anyone here know of any contract coders that can help with my goal. My goal is: When i open a Rhino file designed in Rhino 5 , i would like to have it opened in Rhino 5....

View Article

Rhinoscript - screen out objects in blocks

@rhorsefield wrote: I have a Rhino script that loops through each object and screens out those I don’t want to evaluate (for Each strAnObject in AllRhinoObjects). I want to ignore all objects in...

View Article


Image may be NSFW.
Clik here to view.

Parameter must be a Guid or string representing a Guid

@harunaydin wrote: ERROR1747×927 148 KB Blockquote import rhinoscriptsyntax as rs ml=[] sd=1500 cor=x while sd>10: for i in range(1,999,1): param1=i/1000 fl=rs.TrimCurve(cor,(0,param1),False)...

View Article

Move Meshes to Cplane (Lowest Point on Mesh) with Python

@mattgaydon wrote: Before i spend the afternoon writing a python code that’s been done. Has anyone had any luck writing a a code to select meshes (Buildings in this case) and projected them to the...

View Article

Image may be NSFW.
Clik here to view.

Python Concatenation

@Ncik wrote: G’day McNeel, On this page… developer.rhino3d.com Python Operators This guide is an overview of Python operators. There is this… which doesn’t seem correct for python. Posts: 3...

View Article
Browsing all 4148 articles
Browse latest View live