Add Geometry to doc
Hi all, I am writing a C# component that adds curves to the rhino doc using AddCurve(curve, object attribute) method. This works quite well on the model spaces (Perspective, Top, Front, Right, etc) -...
View ArticleCan't remove all curves from a list
What is happening here? I’m trying to remove curves from a list but one curve is still there. There are three curves in total in the layer. 2 posts - 2 participants Read full topic
View ArticleUse pythonscript to wake up other command line programs
Hi the community, I am a newbie to rhino API here and really need some advice. I attempted to use rhino for modeling and then another command-line program for simulation(Radiance Simulation Tool) in...
View ArticleFiguring out a problem concerning: if,else,list and constructing a plane
So what is the case. I have the following rules that I have to follow: And I have made a couple of lines of script. In theory It should work but this is only the theory. My target is that on the point...
View ArticleArgs.Draw Curve(). Top most option (display top)
Hi, I have a question about the display of Args.Draw Curve(). This plugin is a Top most option that I cannot find in the API and add it to my code (this option makes the curve always be displayed on...
View ArticleNew Circle Tangent To A Line or Curve
Using Python Script. What’s the easiest way to create a new circle tangent to an existing line or curve and also be able to select the side of the line / curve that the circle goes on? 2 posts - 2...
View ArticleGetObjects / GetObjectsEx
Using Python Script. When I use GetObjects or GetObjectsEx is there a way to determine if the user selected multiple objects vs the user selecting one object that is a group of objects? If not, is...
View ArticleMeshUnwrapper object freeze bug
Hi @Jussi_Aaltonen, using below snippet on a mesh object in the document leaves the object in a partially unselectable, invalid state. The mesh object can not be selected by clicking on it, however,...
View ArticleSome questions about drop-down menu options
The last data I selected was not saved after I turned off Rhino 6 Do I need to save the data to internal data? 1 post - 1 participant Read full topic
View ArticleIssue: Rhinocommon DimensionStyle.DrawForward Property cannot be set
Hi there! according to the documentation I should be able to set the ‘DrawForward’ property of an annotiation style using the code below. However currently it only returns the current value. cheers,...
View ArticleReload imported modules, Python / Rhino7
Hi guys, I am developing python scripts that import other scripts from the same directory. It works as expected, however, any changes to the file I am importing do not update until the Rhino is...
View ArticleCaptureToBitmap(settings) + TransparentBackground
Hi, The script below use ViewCapture.CaptureToBitmap(settings) to save bitmap from viewport. However the TransparentBackground property is at ViewCapture Class. I couldn’t find the Transparent...
View ArticleC# Override an input value list items
Hello, sure a stupid question but how to dynamically override an input value list in c#? I’m trying to override a second list (specify the selection) similar to Excel Indirect. For example, if the...
View ArticleHow to convert Rhino.Geometry into RhinoObject?
Hello all, this might be a very basic question for everyone having more C# experience then I, but so far I havent found any tutorial explaining this: How can I convert for example a...
View ArticleIntroduction to Python in Grasshopper
Hi there, I am a young architect (traditional “building” architect, not software architect) and I have been using Rhino and Grasshopper for about 8 years now. I honestly love this software and I would...
View ArticleCan rs.command() control buttons on the pop up window?
Dear the community, I encountered a problem of rs.command() and really need your help. The process of the work flow is rs.command('_-CSResultsPanel, echo = True) a window pops up in the pop up window,...
View ArticleExporting an SVG file at 1:1 ratio with python
I am currently able to save an svg file of my desired outline using the code below with ViewCapture, which I found in a previous post. The issue I’m having is that after the file is saved, it is...
View ArticleSelect mesh faces with naked edges, select vertices
My goal is to select all the vertices of each upper edge in a collection of meshes, so only the uppermost vertices that make up the top edge of a surface that is a mesh. My approach so far is to check...
View ArticleMesh face aspect ratio method in common?
From what I can tell, although you can select mesh faces by aspect ratio and extract them/collapse them in Rhino7, I can’t find the method for aspect ratio in Rhino common or python. Is this correct?...
View ArticleGet RGB color code from object?
I’m trying to get the RGB colour code of an object that is extracted from a external source. When I select the object and use rhino.objectcolor it returns a long string of numbers and I cant see what...
View Article