Quantcast
Channel: Scripting - McNeel Forum
Browsing all 5743 articles
Browse latest View live
↧

Any function in Rhino Python that returns the GUIDs of all objects currently...

@Bianchi wrote: Is there any function (or can anyone recommend methods) that will return the GUIDs of all/specific objects currently active in the Rhino window? Basically I am working on a script that...

View Article


Importing random module throws error in WIP

@romio82 wrote: Hello Everyone, when trying to import the random module in an empty Python script, autocomplete doesn't work and I get the following error when running the script: Message: Methode...

View Article


Image may be NSFW.
Clik here to view.

Wrap (2D) Text via Python/Rhinocommon

@romio82 wrote: Hello Everybody, is there any way to change (2D) text wrapping and the associated "textbox width" by means of Python or Rhinocommon? Especially with the new rich text features in WIP...

View Article

Long inline Python script within a Rhinoscript?

@NikWillmore wrote: I'm trying to create a double clickable Rhino script that will open a Windows file path that has been copied to the clipboard. Since Rhinoscipt itself didn't let me do that when...

View Article

Depreciation warning for ShowSemiModal

@Terry_Chappell wrote: I get a depreciation warning for this line in my Pythonscript: result = Rhino.UI.Dialogs.ShowSemiModal(form) My script works great but I am worried that its future is...

View Article


Image may be NSFW.
Clik here to view.

GetPointDynamicDrawFunc wrong drawing if rotating

@Felix1 wrote: Hello i m new to Rhino scripting and have implement a DynamicDrawFunc to show a preview of my objects. I am scaling some objects based of a start and a endpoint and if the endpoint is...

View Article

Copy print color to layer color? (python)

@kleerkoat wrote: Does anyone happen to have a python script that will copy the print color to the layer color by chance? thank you in advance. Posts: 5 Participants: 2 Read full topic

View Article

Image may be NSFW.
Clik here to view.

Plotting issue with RhinoPython on first run

@Bianchi wrote: I'm building a script in RhinoPython and rhinoscriptsytax that will plot two small squares next to an angled, larger square. The set-up is supposed to look like this: Right now, when I...

View Article


Import Rhino v5 data into Excel with Rhinoscript/VBA

@Matthew_Clark wrote: I'm trying to write an Excel VBA script that basically accesses a running Rhino v5 session and pulls in some of the data into a worksheet tab. Unfortunately, I don't seem to be...

View Article


Python scripts for adding pictureframes, and writing a JSON file?

@Michael_Meyer wrote: Hi..., I would like to write scripts (I am a script newbie) for adding pictureframes to one layer, e.g. layer "pictureframes" the size (width, height) of the pictureframes should...

View Article

Return to previous named view

@CostaThomas wrote: Wondering whether it is possible to write a macro or script that would return the camera to the previous named view setting? I have a very complicated architectural model, and I am...

View Article

Textbox with fields is not updating after TextObjectText is called

@NavArch wrote: Hello,I'm trying to update some text with the correct page number using python. I want to use the field %< pagenumber>% but the resulting text is printed out as %<...

View Article

Unable to convert surfaces into breps

@Robin1 wrote: I'm doing the tutorials at thinkparametric.com, and I'm having a problem with part 6 of the Waffle Structure tutorial. In it, you have a bunch of surfaces that you convert to breps,...

View Article


Image may be NSFW.
Clik here to view.

Dispatch Objects along a linear matrix

@BaptisteC wrote: Hi everybody, I'd like to make a script that dispatch selected objects along a grid.I used to do this with grasshopper by evaluating a source plane on each object, then orient them...

View Article

What is the best way to learn scripting?

@CostaThomas wrote: What is the best way to learn scripting? Is there a webinar, a book or a paper? Thank you. Costa Thomas Posts: 2 Participants: 2 Read full topic

View Article


Check each item's repeat times within a list

@Jack_Zeng wrote: Hi All, Actually I got 2 question...I guess it could be achieved by some basic syntax in Python.When I have a list like [0,0,1,1,1,1,3,3,3,3,3,3,3,4,4,4,4,4,5,5 ... ], how can I...

View Article

Image may be NSFW.
Clik here to view.

RhinoCommons To Python (.rvb to .py)

@Richard_Andrew wrote: There's this script that makes it easier to make stairs, the problem is that it is a rhinocommon script (.rvb) and Rhino on OSX to my knowledge/experience just allows for...

View Article


Image may be NSFW.
Clik here to view.

Close pipe in ends with control point? for example gif

@vikthor wrote: Hello, You who are the geniuses behind rhino I ask you for help, and I thank you for such a spectacular tool :everyone I've been thinking, if it's possible to do this, to close pipes...

View Article

Image may be NSFW.
Clik here to view.

Connecting spheres at smaller minimum distance with cylinder structure

@Anthony_Hamzah wrote: Hi guys, For my project, I am trying to make a bed of spheres, which are connected to other(s) if the gap between them is smaller than a certain distance. gap =...

View Article

Miter shapes/joints for intersecting solids/polysurfaces?

@alxksks wrote: Hi all, I'm a relative newbie with scripting (and Rhino too), not sure if I'm asking a too simple or complicated question (sorry)... But I'm stuck and haven't found anything helpful....

View Article
Browsing all 5743 articles
Browse latest View live