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

Python Scripting Export

@JimCarruthers wrote: Is there a method for doing a simple file export without using "Command"? ThanksJim Posts: 3 Participants: 3 Read full topic

View Article


Linking rhino python with web tools for automating offroad maps

@dcantwell wrote: In Rhino 5, I have manually created some GPS tracks of the Pacific Crest Trail using Halfmiles GPS data files (using a GPX converter from another website) and then manipulating the...

View Article


Script to incrementally save a file

@Ncik wrote: G'day Everyone, Does anyone have a script for saving a file with date and/or time appended to the front? Similar to incremental save functionality it will create a new file each time...

View Article

Customize Title Bar

@JimCarruthers wrote: Is it possible to add some custom text to the man Rhino window Title Bar? Posts: 1 Participants: 1 Read full topic

View Article

Weave lists of pts together

@brobes05 wrote: I am new to python (sort of), anyway I am not sure why this is not working. Should be simple to weave two lists together with a boolean pattern of true false. I don't really...

View Article


Rhino 5 Mac Python Best Practices

@jospehkoon wrote: I have recently been writing basic Python code for Rhino 5 Mac.I have read through the primers, but still have a few questions. Currently, I am storing all of the code inside...

View Article

List rotation of an object

@juancarreras wrote: Is there a way to extract the rotation angle of an object in relation to its original position when it was created ?Ideally I'd like to be able to display an annotation tag that...

View Article

Set object color

@elaner wrote: I am trying to set the color of a cylinder I created using python. Cylinder is created, but the color does not change. Here is the script. Any help is appreciated. import Rhino import...

View Article


Bug in rhinoscriptsyntax toolbar.py (more or less solved)

@Helvetosaur wrote: Continuing the discussion from Toggle toolbar visibility without knowing its parent "collection": Running the following script in my setup errors out on the line indicated: import...

View Article


OT, automating Acrobat

@JimCarruthers wrote: Hi group, I'm trying to read some form information from PDF files. I'm trying to connect to Acrobat from Python in Rhino, and looking at every example I can Google I seem to be...

View Article

Issues Creating Plugin From Python Script

@Steven_Elliott wrote: I'm trying to compile my python script into a plugin for Rhino 5 but am running into an issue that I am not able to fix. When I run my script in the Rhino editor it runs fine,...

View Article

Image may be NSFW.
Clik here to view.

Heigthfield popup warning

@Maarten wrote: We are scripting the Heigthmap command in Python scripting. A popup with a warning become visible.Is it possible to get rid of this popup? heigthfield.JPG702x371 29.3 KB Posts: 1...

View Article

Bath export to OBJ and material length dialog box

@Frederic_Trastour wrote: Hi all, in a VB script, I do a batch export into OBJ format.For each created file I get an error dialog box warning about too long material names, but output OBJ files are...

View Article


Python: ObjectsByLayer to select objects on sub-layers

@DanBayn wrote: Sorry, I should have put more thought into this before asking for help. The LayerChildren method is what I was overlooking. Dan Posts: 1 Participants: 1 Read full topic

View Article

Image may be NSFW.
Clik here to view.

Quicker Block Select Instances

@benjamin wrote: My current method for quickly selecting all the instances of a selected block is by bringing up the block manager and then hitting the select button. Is there a method that could be...

View Article


Remove UTF8_BOM from txt file

@Keith1634 wrote: Hi, I am reading a text file to feed a Rhino.ListBox - however I always get a UTF8_BOM (  ) mark on the first line. Is there a way to remove this ? thanks,Keith Posts: 3...

View Article

RemoveMultiKnot scripted

@Willem wrote: Hi, Is there a way to have RemoveMultiKnot functionality from within RhinoCommon? Thanks-Willem Posts: 3 Participants: 3 Read full topic

View Article


Combine flags into one hexadecimal value - how?

@Jarek wrote: Hi Group, Is there a way to easily represent a combination of flags (for example for object types in ObjectsByType method) into a single hexadecimal value that can be provided into the...

View Article

How to convert an RGB color value to grayscale in python inside GH?

@daizhuo wrote: Hi!Although I finally found that someone said "grayscale = RGB.R*0.3+RGB.G*0.59+RGB.B*0.11", but it seems not work. I had tomultiply 0.007 and got a result that seems grayscale was...

View Article

Silent Execution

@Alexander_Kaplan wrote: I'm using a slightly modified version of http://wiki.mcneel.com/developer/scriptsamples/exportlayerobjects for a mass fbx export but have to hold down enter for a minute while...

View Article
Browsing all 5875 articles
Browse latest View live