How to using PictureFrame in C++ command?
@yyo942512 wrote: Hello I want to use a function similar to the command _Picture. I found the function of RhinoCreatePictureFrame in rhinoSdkObject.h. I want to replace the background with a picture...
View ArticleRhino3dm for python: ObjectAttributes - How to access them?
@lesan wrote: Hey, so I’m using rhino3dm for python (3.7) on a windows-machine. I loaded a 3dmFile via python and now want to read some object attributes, basic stuff. import rhino3dm import tkinter...
View ArticleUsing PoTrace inside grasshopper
@evo85210 wrote: So I’ve been trying to convert a hand drawn drawing into curves that I can manipulate in grasshopper. I’ve tried the image sampler method, but having to sort and filter through the...
View ArticleRhinoDoc vs DocObjects
@woojsung wrote: Hi, Could someone explain what is the difference between RhinoDoc and DocObjects? I understand by reading rhinocommon that RhinoDoc is a class under Rhino namespace, and DocObjects is...
View ArticleA simple Python question
@DanBayn wrote: This should be obvious, but my brain isn’t what it used to be. I’m working on a script where it will just change the colour of two spheres (along with a bunch of other stuff which is...
View ArticleRhino on Mac
@Terry_Chappell wrote: @Helvetosaur, I only have a windows system but would like my IronPython script to run on a Mac. Do the following work on a Mac: DLL created with Microsoft Visual Studio that...
View ArticleVisual Studio 2019
@cadmaster wrote: Can be used for plugin development, or better stick with 2017? Posts: 2 Participants: 2 Read full topic
View ArticleRhinoCommon Template for Visual Studio needs spell checking:)
@cadmaster wrote: 2019-04-13_181328.PNG802×293 20.6 KB Posts: 8 Participants: 4 Read full topic
View ArticleCall RunScript not from Rhino Command
@Noos wrote: Good morning. I need to call RunScript like RhinoApp.RunScript(string.Format("_-Open “{0}” _Enter", filename), false); but not from Rhino Command, rather from any part of the plugin code....
View ArticleRayshoot vs Shootray vs On_Shoot
@Mat_S wrote: Is there a summary (or detailed information) on the implementation for rayshoot, shootray, and onshoot? Below is what I think I have found, please update or correct me: From what I can...
View ArticleExample of Import/Export Plugin in C#
@Ayoub wrote: Hello World, I am trying to write an import plugin so that Rhino can read directly COLLADA files. Is there any example of an Import/Export plugin in C# so that I know how it could be...
View ArticleHow to load custom-written components by import ghpythonlib.components as gh
@eduszh wrote: Hello, I have some compiled custom Grasshopper component in the folder C:\Users\Administrator\AppData\Roaming\Grasshopper\Libraries and I want to use these components in Rhino Python...
View ArticleIs it possible to run Rhino Python plugin outside of Rhino?
@eduszh wrote: Sorry if this is a not-so-smart question. I am wondering if it is possible to run Rhino plugin file outside of Rhino in the python IDE of my preference? I am asking because I cannot...
View ArticleHow to extract geometry from blocks
@ModuleWorks_Marcelb wrote: Selecting parts of a block geometry doesn’t work the same as regular geometries. I end up with a reference to the InstanceObject and the component index doesn’t make any...
View ArticleCutomGroupObject?
@jessen.ch wrote: Hello, I’ve seen the possibility of creating custom object based on thses RhinoCommon api. However, as I understood, it only allows to custom single geometry(Brep or Curve or Point)...
View ArticleScripting command with c# example
@ivelin.peychev wrote: Hi, Is there a way to script rhino command from inside a rhino plugin created with csharp in visual studio? Could anyone give me an example, please? A very basic one as my...
View ArticleWhat is the "run-time database" in Rhino?
@ivelin.peychev wrote: developer.rhino3d.com Run a Rhino command from a Plugin This guide covers the proper techniques when running a Rhino command from within the context of a plugin command....
View ArticleC# Change Text of TextDot
@tobias.stoltmann wrote: Hi there, I fear I have to bother you with a very stupid question. I’ve been trying to change a TextDot’s Text for one evening now and I don’t know how to move on. Here is a...
View ArticleCreate commands that support history in C++
@dale wrote: @XNurbs - this is in response to your comment on this long thread: XNurbs Rhino plugin is available! Rhino for Windows For both experienced and less experienced modelers, the first...
View ArticleHow can Surface.Trim() keep original UV domains?
@Will_Wang wrote: I’m using this method of surfaces https://apidocs.co/apps/rhinocommon/6/M_Rhino_Geometry_Surface_Trim.htm I wonder if there is a way that all resultant “sub” surfaces can retain...
View Article