Navigating RhinoScriptSyntax Tree in Python Editor
@perseus wrote: The tree on the left side of the scripting window, seems to properly load most items in the different categories. But whenever I try to access something inside one of the...
View ArticleFrom VB, C# to Python
@Antonio_Cersosimo wrote: Hi, im pretty new to this forum, Im been trying to translate a VB script of a button, to python, but i haven’t succeed, i was wondering if someone knows a good source for an...
View ArticleSimple C# syntax question (solved)
@Will_Wang wrote: This describes what I want to do. Boolean ‘first’ is already defined outside the ‘foreach’ loop. I want to start an arc ‘a’, look at boolean ‘first’ and assign different arcs to ‘a’....
View ArticleArray of files in a folder and all of its subfolders
@tobias wrote: Hello scripters, I’m stuck here with a problem and I kope someone can point me in the right direction. What I need is a list of all 3dm files within a folder and all of its subfolders....
View ArticleBringing open folder to the front
@cadguy wrote: if the folder is open and I close the folder first and then reopen it will bring it to the front Sub folderCad_Pile() Dim objShell, strFolder, file Const FOLDER =...
View ArticleImport any language text files using vbascript
@puneetkansal04 wrote: hi i am importing files using this vbascript Sub Import_All_Text_Files() Application.ScreenUpdating = False Dim thisRow As Long Dim fileNum As Integer Dim strInput As String...
View ArticleClosing folder
@cadguy wrote: I’m trying to close the folder that I have previously opened what I used to open the folder Sub folderCad_Pile() Dim objShell, strFolder, file Const FOLDER = "\Jewelerscad\Cad_Pile\"...
View ArticleTrouble Accessing Inherited Attribute
@Measure wrote: Hello, I’m writing a function in python to locate the center point of an angular dimension, and I encountered the following problem. I have an instance of...
View ArticleIntersection points at local y, z max at multiple x locations
@david.m.jones11 wrote: Quick, and likely trivial, question for anyone willing to help: Is it possible to adjust the absolute tolerance within rhinoscriptsyntax or rhino common? The only method I am...
View ArticlePython Question about basic syntax
@Lei_Yang1 wrote: hello guys, I am new to Python and before use JAVA. a silly question as showed in pic and gh file. what is the right syntax to finish this small code? thanks so much! Lei question...
View ArticleExport Significant Digits
@david.m.jones11 wrote: I made a python script that generates a series of points. At the end of the script, I would like to export said points to a .txt file. The export is executing smoothly;...
View ArticleHow this error is corrected, "Display Mode
@vikthor wrote: good day It was working well but I stop working. I thank any help I downloaded it from this link ; but on my pc it does not work SetObjectDisplayMode - all viewports Rhino for Windows...
View ArticleCone with phyllotaxis Structure
@kggadhavi wrote: I want to make a pine cone with its natural form using python scripting. Anybody working on the same problem? Posts: 1 Participants: 1 Read full topic
View ArticleWhat is meaning of this example?
@kggadhavi wrote: import rhinoscriptsyntax as rs cloud = rs.GetObject(“Select point cloud”) if cloud: point = rs.GetPoint("Point to test") if point: cloud = rs.PointCloudPoints(cloud) index =...
View ArticleDoes Rhino6 use Python code to do this?
@Alen_Russ wrote: Hello, I often open Rhino options page, Put On Sidebar visible and Lock docked windows of Toolbars options. I want to use Python code do this options. Does it possible? Posts: 2...
View ArticleGetting the viewport clicked in via mousecallback
@Helvetosaur wrote: Hi there, I am trying to understand this sample (found at the bottom of this page): from Rhino import * from Rhino.Commands import * from Rhino.UI import * class...
View ArticleHow to know surface coordinate of the cylinder?
@kggadhavi wrote: I want to put points on the surface of this cylinder at specific angle of 137.5 degree. But Is it possible to know how the cylinder is built on which co-ordinates? import...
View ArticleBatch converter, file formats
@alexandre_galin wrote: HI Do you have a script that does batch converting from one set of files to another format. such as converting Steps into Obj. It needs to work with V5 thanks Alex Posts: 1...
View ArticleHide a single object from a Block in a Viewport
@NavArch wrote: This may be a long shot, but it never hurts to ask. Is there a way to “HideInDetail” a single object in a block or can I only hide the entire block in a detail? I know how to use...
View ArticlePreselecting Mesh Vertices?
@Jack_Minardi wrote: I am attempting to write a python script that allows the user to preselect vertices on a mesh and then set their color. The code is pasted below. (It is modified from @pascal’s...
View Article