"None does not exist in GroupTable"
@Ncik wrote: G’day Everyone, Just a quick explanation before I leave work. Can add more details later if required. The grouping script works fine the first time, but as I work to debug a second time...
View ArticleBrep.Split complete failure if one curve not on brep
@Helvetosaur wrote: Why does Brep.Split completely fail if just one curve in a collection fails to split the brep? import rhinoscriptsyntax as rs import scriptcontext as sc import Rhino, System from...
View ArticlePdf through python : missing lines
@lahos wrote: Hi, I think that usually there is no issue with pdf object since a while but today I found errors in my drawings. I can’t figure out how to print all the lines of my layouts. Maybe since...
View ArticleHow can I change the test environment of rhino pythonscript to pycharm
@meowzeezee wrote: How can I change the test environment of rhino pythonscript to pycharm and keep pycharm and rhino interlocked? Because pythonscript is not very easy to use interactively. Posts: 4...
View ArticleGetObjectEx with subobjects?
@Bogdan_Chipara wrote: I find this very useful because it returns the selection point. unfortunately it doesn’t allow subobjects. Is there any other way to get the selection point with GetObject ? Or...
View ArticleWhat's the analog of VB "Public SomeVariable1, SomeVariable2" in Python?
@Asterisk wrote: I need to keep the values of my variables for other scripts to use. Posts: 2 Participants: 2 Read full topic
View ArticleBatch Printing: Background Color Layout?
@andrea.settimi wrote: Hello there! I am trying to batch print quite a few .3dm files. Each one has a different background color for the layout, and what I would like to achieve is simply to print the...
View ArticleVBScript. Convert Block to Group
@dangtungx wrote: I tried it on rhino 6. Sorry it doesn’t work ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ' ConvertBlockToGroup.rvb -- March 2010 ' If this code works, it...
View ArticleBug with text justification enumeration
@Gijs wrote: rs.AddText(text, pt, height=2.0, font = 'Courier new', justification = Rhino.Geometry.TextJustification.BottomLeft This code used to work, but now I get this message: Message: bitwise and...
View ArticleQuestion to Dimstyle
@Robert wrote: Hello All, I can ceate a Dim style but how I fit the text not Auto I wand do it insite this I have: if (null != dimstyle) { dimstyle.ArrowLength = 18 * scale; dimstyle.TextHeight = 18 *...
View ArticleUsing scriptcontext with rhinoscriptsyntax
@mohamedowaze.ansari wrote: Hello, I’ve been trying to integrate sc.sticky from the scriptcontext library. But have failed to integrate that in my code (attached below), the file also contains a...
View ArticleHow does GetCursorPos() really work?
@and.888.r wrote: Hi All! I am new here on the Rhino forum, however I am not new Rhino user. Recently I started to play with Python scripting and now I wonder how does the GetCursorPos() function...
View ArticleEquivalent of 'SelVolumeObject'
@jeffoulet wrote: Hi! Is there any equivalent method of the ‘SelVolumeObject’ command in the SDK? I’m aware of the Brep.IsPointInside method, but it only works with points. Thanks in advance! Posts: 2...
View ArticleConnection to MySQL database in GhPython component
@e.pouls wrote: Hi guys, I want to connect Grasshopper to MySQL database. I want to have the outcome of a sqlquery as output of the GhPython component. import clr clr.AddReference('System.Data') from...
View ArticleCopy Paste to all Layouts with Python
@egdivad wrote: Hi all, Is there a way to copy pasted an object (or a selection of objects) to all layouts? If I copy/paste a block to all layouts then I only need to edit the block once then all...
View ArticleAliases. How to run .gh (Grasshoper)
@rhinoceros.adv wrote: Hello I have a file in .gh format (grasshoper) how to call that file with the command in aliases Posts: 1 Participants: 1 Read full topic
View ArticleSet material name by Layer name
@soccerbatman wrote: Hello everyone - I have been trying to make a python script that materials name are set by the name of their layers. The same question was posted previously by me. I got two...
View ArticleWhy is there no BooleanSplit in RhinoScript and other Inconsistencies
@mike15 wrote: There are commands you type in the Rhino command line (like BooleanSplit or Split) but can’t use in RhinoScript and commands you can use in RhinoScript that you can’t type on the...
View ArticleGet GUIDs of Objects from the Document
@Jonathan_Hutchinson1 wrote: I wanted to try and do a script which would report the layer locations of hidden objects in the document. I apparently have 120 locked/hidden in show selected, which is...
View ArticleHow to pass array of objects to methods that take the String id of a single...
@mike15 wrote: Using VBScript, how do I pass the String id of an array to methods that accept only String ids? For example: Option Explicit Call Main() Sub Main() ' Get object to be split Dim arrBlock...
View Article