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

Select object in coordinates

@askj92 wrote: Hi Im new at scripting.and need your help. How do i select a crv when i know only know its coordinates? /Astrid Posts: 5 Participants: 2 Read full topic

View Article


Image may be NSFW.
Clik here to view.

Working with scale models

@Dancergraham wrote: Hello all, I have written a python script to help when working with scale models, specifically it helps when switching regularly between full-scale and model scale. You can...

View Article


Typed command for Sublayer

@MikeM wrote: Is there a typed command to create a sublayer, or to move a new layer into another layer? I’m writing a macro, so it needs to be a typed command. If I have Layers: Layer01 Layer02...

View Article

Image may be NSFW.
Clik here to view.

Python - Prevent randomly generated points from overlapping each other

@spela.kranjec21 wrote: Hi, I am new with python and I am still learning so my problem might be very trivial but I just cannot get the right solution for this problem. So, I have randomly generated...

View Article

How to speed up ghpython codes?

@niyuxiangken wrote: I wrote more than 200 lines of Ghpython codes,including one main program and 7 functions constructed by dictionary data structure.I have imported several necessary ghpython...

View Article


Rhino Script Separating Code

@nqr5090 wrote: Hello, I was previously using Rhino 4.0 where I could highlight a part of my script and click run and it would only run that part of the code. However, when I try to do this in Rhino...

View Article

Image may be NSFW.
Clik here to view.

Python RhinoScript - MeshTextureCoordinates & chm help

@clement wrote: Hi @Alain, i just found out that rs.MeshTextureCoordinates is still missing from Python rhinoscript syntax. In Rhino 5 the helpfile listed the “Not implemented yet”, in Rhino 6 the...

View Article

How to duplicate preselected (ctrl+shift) polysurface edges in Python?

@spineribjoint1 wrote: I am trying to achieve something like “DupEdge” rhino command on preselected edges with script. Can anyone point me in the right direction? Posts: 3 Participants: 2 Read full...

View Article


Image may be NSFW.
Clik here to view.

How to keep UserDictionary on DuplicateSegments

@flokart wrote: Hi all, is there a way to manipulate objects and keep UserDictionary on SubObjects? I try to get DuplicateSegments while keeping UserDictionary on all Segments. sc.doc =...

View Article


.net abstract class usage with IronPython

@ivelin.peychev wrote: Hi All, I have a hypothetical/theoretical question: Could anyone provide a script snippet showing how a .net abstract class is used in IronPython? How do I use (override) its...

View Article

sun.Azimuth sun.Altitude for different dates with python

@Bogdan_Chipara wrote: Hi, I can get the values for Azimuth and Altitude from scriptcontext.doc.Lights.Sun.Azimuth and scriptcontext.doc.Lights.Sun.Altitude But those are only the values for the date...

View Article

I need beginner level tasks

@iffatak1 wrote: I’m new to scripting and I would like to know some beginner level tasks. I want to integrate this in my app. I’m creating an android version of the iOS app Document Writer. I want to...

View Article

Move objects in python

@youssef.eskandar wrote: how to move an object with vector and a specific distance in python thanks in advance Posts: 2 Participants: 2 Read full topic

View Article


Get uv vector with Rhino python

@samid wrote: Hello, is there a way to get the uv vector of a surface with python? Regards, samid Posts: 8 Participants: 3 Read full topic

View Article

Script forsetting all the Object properties of an object to "By Layer"

@cosmas wrote: I often have to go in to the Object properties of an object and set the Display Color, Linetype, Print Color, and Print Width to By Layer. It would be a significant time saver if there...

View Article


Unresolved Layout Export to PDF

@grainenergy wrote: Hello, Relatively new to Rhino here. Using evaluation version for Mac (coming from AutoCAD). For context, I have a spreadsheet of dimensions for about 400 items which will be drawn...

View Article

Getting the source code

@sumuk wrote: Hi, I was searching for the source code of rs.BoundingBox function. I wanted to modify the code for specific use, can someone help me getting it Thanks in advance Posts: 5 Participants:...

View Article


Image may be NSFW.
Clik here to view.

Addtext rhinoscript

@onlyforpeace wrote: hi, i’ve got a script, that since V6, addtext doesn’t work well, see the picture: Capture.JPG1282×718 145 KB it write the two first and last letters of string of caracters… Posts:...

View Article

rs.HiddenObjects() for worksession?

@Bogdan_Chipara wrote: Hi, Is there any way to get the identifiers of all hidden objects in a worksession? Thank you! Posts: 1 Participants: 1 Read full topic

View Article

AddBlock() problems

@kyle_faulkner wrote: I’m trying to update a block via python. When I run the test code below, the block only updates as long as none of the newobj are blocks. I want to nest the selected blocks into...

View Article
Browsing all 5870 articles
Browse latest View live