Manipulate file content before saving and before opening
@f.leone wrote: Hi, is there a way to get the array of all bytes before save action to manipulate it? I mean, I need to intercept it before the file creation/updating because I’d like to encrypt and...
View ArticleInsert Block Script Block Name Conflict
@dks5254 wrote: I have a problem with a script that I am writing that batch imports many 3dm files and orients them. I am using “rs.Command(’_-Insert File=Yes LinkMode=Embed ‘+file+’ Block _Enter...
View ArticleNew Developer Sample: SampleCsCreateNestedBlock
@dale wrote: Demonstrates how to create a nested instance definition, via code, using RhinoCommon....
View ArticleNew Developer Sample: SampleCsDragDrop
@dale wrote: Demonstrates how to drag and drop from a WinForms listbox onto a Rhino view, object, or layer. https://github.com/mcneel/rhino-developer-samples/tree/6/rhinocommon/cs/SampleCsDragDrop You...
View Article_ExtractConnectedMeshFaces
@karol_wierzbicki wrote: Hi, I’m wondering if there is a predefined method which is executed when selecting _ExtractConnectedMeshFaces that I could use in RhinoCommons? Or do I need to create my own...
View ArticleLatest update broke rs.BrowseForFolder
@Willem wrote: Hi My coworker just update to the latest version and running a script got this message: Message: Multiple targets could match: ShowDialog(Window), ShowDialog(Control) Traceback: line...
View ArticleC# learning doubt
@HEEN wrote: I’m very interested in learn C# I dont know too much about programming so If i Learn C# with focus in videogames and unity those skills could help me to coding in grasshopper. Could be...
View ArticleSelection Event
@ricardo.eira wrote: Hello, I set a RhinoDoc.SelectObjects += OnSelectObjects; event function for trigg a command, the problem is , this “RhinoDoc.SelectObjects” is trigger on move object to. This is...
View ArticleRhino3d Engine as a web service?
@jchun726 wrote: Hi I am a computational designer based in S.Korea, and our team is currently working on the web service api for ruled based modeling for urban development. The design computation team...
View ArticlePython: How to output a string to the command line scroll box?
@ThomasAn_ wrote: In the old days of VBscript we could print to the command window via Rhino.Print(“text”) Is this not possible in rhinoscript/python ? Posts: 1 Participants: 1 Read full topic
View ArticleColor desired mesh faces
@pouryatorabi wrote: Hi every one. I have a mesh file in Rhino and just want to change the color of some specific mesh faces to red. First I tried to see what is the color of the mesh with: foreach...
View ArticleRS Bug: BrowseForFolder (Make New Folder button)
@Jarek wrote: hi @dale This bug has been around for a while: with BrowseForFolder method, when New Folder is created, no matter what name you pick, it always shows in the dialog as New Folder (even...
View ArticleHow to get the transform (position) of a block instance object in C++?
@alexian007 wrote: How exactly do I get the position of a block instance object, which doesn’t contain any geometry in itself and holds other sub-objects ? Posts: 3 Participants: 2 Read full topic
View ArticleRhino6 Com Interface
@fujihira wrote: Hello, We try connect our program to rhino6 via COM interface. “rs = rhino.GetScriptObject();” is not work. Error message from visual studio: Unable to cast object of type...
View ArticleViewportInfo from Viewport
@marton.parlagh wrote: Hello, This is my first question here, hope not an unsolvable one:) I would like to attach user Data to views. I can not attach data directly to Viewport objects, but it is...
View ArticlePython: rs.GetString will not display option strings if they contain a dot
@ThomasAn_ wrote: I think this is bug. It will properly display the default string, but not the option strings strPrompt = "Make a choice " strOptions = ["Option.one","Option.two","Option.three"]...
View ArticleRhinoCommon - Get vector perpendicular to planar crv
@SNC wrote: I’m dealing with a planar Curve, which I’m trying to use to trim away surfaces. I want to trim in the direction perpendicular to the Curve. For exampe, if the Curve is in the XY-plane, it...
View ArticleUser data optimization
@onrender wrote: Hi, I have some question regarding User Data. I read this under the User Data Methods; Important. When storing custom data on an object, the data can be stored on either the object’s...
View ArticleRhino.Serialnumber encoded
@a.giehr wrote: Hello there, i´m trying to get the serial numer of the license Rhino has in use in RhinoScript. When i use a single user license or a license from a Zoo server, it´s simply via...
View ArticleIf I have a mesh, how do I find out to which block instance it belongs? Is it...
@alexian007 wrote: Hi ! So, I am in the process of making an exporter plugin for Rhino to some other format using the C++ API, and have now been facing the issue of correctly exporting the Block...
View Article