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

SR12 - Parent Layer Bug?

@powerpp wrote: Hello, today I updated to SR12(5.12.50810.13095, 10.08.2015) - 64bit.Now adding a childlayer under a parent layer using pyhton script does not work any more. import rhinoscriptsyntax...

View Article


Rhinoscript addleader not undoing

@JimCarruthers wrote: Hi, I've got a script that generates a bunch of dimensions and leaders. I've noticed that after running the script, if I select the leader objects and change their style...

View Article


Image may be NSFW.
Clik here to view.

Atom 1.0.7 communication issues?

@rhinorudi wrote: I just updated to Atom 1.0.7 and Atom is not giving me the RunInRhino is not showing up. restarted Atom & Rhino a few times. Rhino says it is listening for Atom requests. Screen...

View Article

VB 6 command and VB.Net command

@louis9jan wrote: Dear All I am using this command in VB 6 len2SPt = Rhino.CurveLength(baseCurve, , Array(crvDom(0), dClosePt)) but when i use same command in VB.net. it gives me and Error : Array is...

View Article

LayerNames function returns empty list after Opening project?

@bmartin wrote: Hello, I have a GUI that calls mesh intersection code that sometimes crashes. To prevent losing too much work, I implemented a "backup" function that saves the complete Rhino project...

View Article


Tell running Rhino application to execute script

@Raphael wrote: Hey everybody! I have written a little Python script in the embedded script editor. Now I am looking for some windows console commands to: * start Rhino with a certain 3dm file/ open a...

View Article

VBScript Setting default folder locations

@JimCarruthers wrote: If I wanted to have a script change the current Export and/or Save and/or Import...etc... default folder locations, what would be the best way to do that? Posts: 3 Participants:...

View Article

Rhino.Command (strCommand [, blnEcho])

@eddi wrote: Helo,what is meant by option blnEcho ?Thanks Posts: 2 Participants: 2 Read full topic

View Article


Com Interface and Rhino.Command

@eddi wrote: Helo, I have two questions:Access Rhino through Com as "Interface" method, if multiple Rhino processes are running, which process Rhino.Interface is accessed ? What is correct syntax...

View Article


Select layer's object

@Hamia_Aghaiemeybodi wrote: I'm trying to select layer's object through grasshopper python and that's what I get: Runtime error (NotSupportedException): This type of object is not supported in...

View Article

Rhinoscript: how to pass results array to function expecting string object name

@jimabshire wrote: Newbie to Rhinoscript - please be nice Rhinoscript code patch:strLine1 = Rhino.AddLine(arrStart, arrArcStart)strLine2 = Rhino.AddLine(arrStart, arrArcEnd)strLine3 =...

View Article

Delete invisible parts of curve / Extract visible parts

@Raphael wrote: Hey everybody! Is there a way/command to remove the parts of a curve which are not visible from some camera point (as other objects are in front of them)? I projected a line along the...

View Article

SQLite in RhinoPython

@efestwin wrote: Hey Folks,I am looking for a way to use SQLite in RhinoPython.Since Rhino uses IronPython 2.7 and the sqlite3 module is part of the standard library since Python 2.5, I don't quite...

View Article


Rhinoscript: trying figure out how to "remember" settings

@jimabshire wrote: How do we get rhinoscript to remember settings previously entered? An example somewhere? I've tried adding variable variously as public, global, and private right after Options...

View Article

RS ClippingPlane Method bug?

@Jarek wrote: In the Rhino.AddClippingPlane method, no matter what the U and V plane scale values are, the method always creates a square plane with the size of the bigger of 2 values. At least over...

View Article


SR12 bug: Message: 'module' object has no attribute '_'

@Alain wrote: A bug was discovered in SR12 (also affects Rhino for Mac 5.0.2 and earlier) yesterday that explains why some of you have started getting a "Message: 'module' object has no attribute '_'"...

View Article

RhinoCommon ObjectAttributes.RemoveDisplayModeOverride method

@Helvetosaur wrote: This method has an overload - either call it with a specific viewport ID as argument to remove a custom object display mode in the supplied viewport -...

View Article


Which Python Standard Library should Rhino's IronPython use?

@jjpr wrote: Rhino Python is actually an IronPython interpreter running in the Common Language Runtime of the .NET framework. (On Mac it's inside Mono.) When I run Python scripts in Rhino, it appears...

View Article

RhinoScript syntax for _ExtrudeSrf using _ToBoundary option

@Oskam wrote: Hi, I'm writing my first RhinoScript and run into a problem, I created a planar closed surface and need to extrude them to a boundary. But my script fails when I try to pass the ObjectID...

View Article

Image may be NSFW.
Clik here to view.

Abaut rs.AddSrfPtGrid()

@pythonuser wrote: Hi, I already have points, I try to create surface by rs.AddSrfPtGrid(), Where I do wrong? import rhinoscriptsyntax as rs pois= rs.GetObjects("sel points") v = len(pois) count =...

View Article
Browsing all 5892 articles
Browse latest View live