How to constrain movements?
Is there any way to constrain transformations applied to an object? I’ve seen fantastic work done on the Constraints in Rhino 8, but it seems to apply only to curves. What about PolySrfs, Blocks or...
View ArticleAre all V5 .rvb and .py codes perfectly ok for V7?
Hi, V7 is there a list of codes not suitable for V7, created and coded for V5 ? I dont want to find out where the mines are by by stamping my way across the minefield. I want to be sure that my new...
View ArticleIs drag drop vital before referencing .rvb .py .rhp scripts in button?
Hi, V5. V7 If referencing an .rvb rather than placing code into button, I see C:\Program Files\Rhino\Plug-ins with .rhp scripts. For user acquired .rhp files it is said to make a subfolder and place...
View ArticleAny way to show/hide objects in a block per instance?
I don’t suppose that there is any easy way to hide selected few objects or layers per block instance. That is have one block definition holding multiple objects and hide some of these objects in...
View ArticleWhat needs doing to this V5 code for V7 from Mitch scroll creations?
Hi, code from Mitch Mitch script to scroll back through created objects. for V5 right mouse click or spacebar to scroll through, esc to stop. last object selected stays selected. I wish to make a...
View ArticleLine classification
please help how to select same lines and same length? 3 posts - 3 participants Read full topic
View ArticleLearn Python Scripting
Hello all, I have a very basic Python knowledge. I would like to learn more so I can start to write my own commands etc. I don’t see much on the internet dedicated to Python for Rhino specifically. If...
View ArticleBatch Rename ALL Layers + SubLayers
Hi all, @Helvetosaur, @andheum, @pascal I need to batch rename, actually add a prefix, all layers and sublayers names of some files keeping layer ordering and layer::sublayer::subsublayer structure...
View ArticleHow can create a closed curve using rhino3d?
Hi everyone, I try to create curve using rhino3d in python, using the line like: rhino3dm.Curve.CreateControlPointCurve(curpts, 3) However, the curve is not closed, and I can’t find the option to...
View ArticleGet objects that belong to a group by name
(topic deleted by author) 1 post - 1 participant Read full topic
View ArticleHow to use curve closest point with Python in GH
Hello! I think this is very easy to solve issue, but I’m stuck on it for quite some time. I think I’m messing up which documentation to use and how to work with Rhino objects, how to work with GH...
View ArticleCreate a new layer from the name of part
Goodmorning, I need a script to create a new layer from the name of the parts. I need this to convert the trees of other cad to the layers of RHINO. Could you help me? 2 posts - 2 participants Read...
View ArticleThere is a way to group object by layer? (easy)
Hello, I need to gruop every object on his layer in a single gruop. (be carful: not in parents layers) selcect object layer–>gruop Do someone have a script? Thanks, 5 posts - 2 participants Read...
View ArticlePython code arc thru points by Mitch throws error in v7 solution?
Hi @Helvetosaur having successfully created button with StackObjectsAlongAxis.py by Mitch referencing the path to the .py as suggested I try to avoid coding errors. I then try for another this...
View ArticleWhat code or command for translucency option on ghosted mode?
Hi, @Helvetosaur I have a button that runs the .py file from Mitch (referencing it from a D drive location) what code needs to be added to offer a choice of translucency ? At the moment… I select...
View ArticleRhino.geometry namespace
So I’m trying to write a python script for rhino and when I use the rhinoscriptsyntax namespace everything works well, but when I use rhino.geometry nothing appears on the screen, even tough the code...
View ArticleIs there a way to measure time since last execution of a python/C# script
I essentially wish to have a C# or python component that does the following time_since_last_execution = time_now - time_when_this_component_was_last_executed time_since_last_execution > 10s:...
View ArticleGet Selected UserText
@Trav Is it possible to return the selected key/val pair in the ActiveDoc. Just as it would be done using this method for Layers?: LayerTable.GetSelected Method (rhino3d.com) Thanks, Dan 7 posts - 3...
View ArticleUpdate object when another object changes
Is there a way to link two objects, so that when one object changes another changes, as well? That is have some code run only on that object change (when it’s moved, scaled, changed material, changed...
View ArticleSwap a block in Python?
How would I duplicate ReplaceBlock? Do I have to just delete it and replace? 3 posts - 2 participants Read full topic
View Article