Grasshopper-Python: How to start a CMD-Window and send commands to it with...
@Tabak wrote: Hi there. Within GH via Python code I am trying to open a Command Prompt (Windows 7) and executing some commands in it. The only thing I manage to do is just to open the CMD window and...
View ArticleHow to get object's world coordinate
@davedufour1991 wrote: Hi! So, i recently started using Rhino and Python and i’m now hitting a wall. So here is my problem : I have to import many models, all different, that are stacking and i need...
View ArticleSelect item and run script
@onrender wrote: Hi, I am looking for way to combine the selection command with python script, that works with the left mouse button. So, I want to select an object and run the script. Posts: 2...
View ArticleSaveRenderWindowAs Now saves only the RGB pass
@vlad.posmangiuluchia wrote: Hi, I used to use rs.Command ("_-SaveRenderWindowAs "+FileName) to save all of the passes inside the V-ray window. Since swapping to the new V-ray and Rhino 6 it seems to...
View Articlers.OpenFileName() request
@Helvetosaur wrote: Can the default extension argument be made to accept a list of extensions instead of a single one? Like, say, filtering for .dxf, dwg, and .3dm? Or is this a Windows-controlled...
View ArticlePlankton Mesh Library
@Amir_Habibi wrote: Hi @DanielPiker Since i got found not much information on plankton library and tried to figure out how some methods are used here are some of my struggle to clarification (using...
View ArticleNoob alert - sort output with python
@CountryGolden wrote: Advanced apologize for my complete lack of knowledge here, I’ve been working through this with google and crtl-c crtl-v. I have a small script to watch a folder for 3dm files and...
View ArticleObjects change to layer. Help me
@xiix.xoox wrote: i want change layer for object is selected by code python but i can’t. EX: i have text and text dot in layer default. I select text and move them to new layer (add layer and move). I...
View ArticleGH Python Compiled Component Custom Preview Display
@dadandroid wrote: Hi I’ve been compiling GHpython components as instructed in the following post by @piac: Tutorial: creating a Grasshopper component with the Python GHPY compiler Developer GhPython...
View ArticleCumulative formula script
@ian.vanduivenbode wrote: Hi, I am trying to recreate an excel process in Grasshopper using a script. I was initially looking at foreach loops in a C# component but am struggling. To be honest i don’t...
View ArticleHow to rotate a block on the Y axis of the Gumball , with gumball aligned to...
@Bogdan_Chipara wrote: Hi, I can’t find a way to rotate, with python, a block on the Y axis of the Gumball, with Gumball aligned to object. BlockInstanceInsertPoint doesn’t return a vector… Any...
View ArticleRhino.Python API [Question]
@ivelin.peychev wrote: It’s probably me, but how come the simplest example taken from the API doesn’t work. 2018-05-29 21_27_46-rhinoscriptsyntax.png1225x545 22.5 KB What is that Prompt supposed to...
View ArticleAutolabel_help
@pie.ventura wrote: hello, can someone help me? I think it’s simple but I’m tired and I can not. I would like to tag each object, but, closedpoly is impossible, why? lol a.jpg1206x626 491 KB prova...
View ArticleRhinoScript: IsLayerVisible vs IsLayerOn
@Jarek wrote: hi @Dale, what is the difference between the two methods? Posts: 2 Participants: 2 Read full topic
View ArticleGet object out of a set
@rainerhartl wrote: Probably a simple question: python script: c = set(a).intersection(b) print c…set([35]) I have a set with one value. How do i get this value out of the set? > Thats what i want:...
View ArticleRhinoScript: getting AllObjects, including these in Block Definitions
@Jarek wrote: Hi All, I am trying to get the list of ALL objects in the current file, including the ones that make up the block definitions. Rhino.AllObjects does not return these. If there a way to...
View ArticleDetailMeasured Property
@Alasdair wrote: I’m trying to write a python script that changes selected dimensions to be measured from the layout space. I can find out what detail dimensions have been measured from using: def...
View ArticleDouble-click on object invoking python script command?
@ivelin.peychev wrote: Hi, Assume we have a command (myBox.py) e.g. myBox(height,width,depth) to create a box. How can I invoke this command, to edit the box, by double clicking on the box? Thanks in...
View ArticlePoint from intersection event python
@flokart wrote: Hi all, how can i convert the intersection event to a point object ? Rhino.Geometry.Intersect.Intersection.CurveSelf(Curve,0.001) or better how can i use the result ?...
View Article[Help] How to draw line segments while picking the points
@ivelin.peychev wrote: Hi, First a small complain, RhinoCommon, RhinoPython, and the other APIs are really not helpful for beginner programmers. Same goes for the examples. Very few comments not...
View Article