Arc direction
Hi all, How do I find out the arc direction clockwise or counterclockwise ? > CRhinoCommand::result CCommandTest::RunCommand(const CRhinoCommandContext& context) > { > CRhinoGetObject...
View ArticleIterate Through Picked SubD Vertices
Is there a way to use a simple rhinoscriptsyntax as a Getter for a SubD, and to then be able to return the Point3Ds of all the vertices of the cage? I can get the SubDVertexList, but can’t iterate...
View ArticleC# WPF >> send UI element value to rhino command
Hello everyone - this is a very general question but I’m stuck and am having trouble with the right approach to use. I’ve been wrestling with using the output from a WPF UI element (ie. Slider) in a...
View ArticleDocument User Data in new document
Hi everyone. How to write and read Document User Data on documents is explained at the link https://developer.rhino3d.com/guides/rhinocommon/plugin-user-data/, but if I create a new document, Document...
View ArticleEto GridView Add New Row?
Hi all, I am working on a small Eto dialog using GridView and I’m wondering if someone can give me some pointers? In particular, I’m wondering how (if?) I can add a new row to a GridView layout while...
View ArticleMesh.Reduce option planar only
I would like to merge the coplanar mesh faces. In Rhino there is a command ReduceMesh with the option “Planar only”: In RhinoCommon I cannot find a corresponding option, neither in Mesh.Reduce nor in...
View ArticleRhino Mac plugin not loading
Im trying to create a cross platform plugin for Rhino 6, but I cant get the command to load when I run the project. I can see that the .rhp and .pdb files are being created, but I cant get Rhino to...
View ArticleGeometry filter for only Cylinder in Rhinocommon
Hi, This is my first post, and very basic question in rhinocommon. I am trying to my personal command which is to pick a cylinder and change its diameter. On RhinoCommonGuides page there example like...
View ArticleWish list: Expose CRhinoDib and GetDibAsTextureFileReference in C#
Hi, I need to draw textures from memory in a display conduit in Rhinocommon, like in this thread. I’d like to ask whether a particular set of methods from C++ SDK can be exposed in Rhinocommon to make...
View ArticleUpdating document in CustomUndo callback method
Hi guys! My plugin relies on some custom data that needs to be in synch with document contents. I used to call RhinoDoc.AddCustomUndoEvent to save my custom data before some command modifies it. In...
View ArticleNull Reference Exception in GetSelectedEnumValue
Morning all, This one has be stumped… any idea why the exception is thrown? image1137×156 15.9 KB stack trace is at...
View ArticleReading data from Rhinofile in WPF App fails
Hi there, I tried to access a 3dm-file from a WPF app to be able to read inforrmation in the file without opening Rhino. I found a similar case here: Change geometry size without open rhino Rhino...
View ArticleCustom object for a graph-like structure
Hi there. I am looking to implement (C# plugin) a custom object that looks like a graph composed of nodes and edges. Both nodes and edges should be selectable, and moving a node should update the...
View ArticleSetting shortcut for command line options
Hi there. Shortcuts for command line options seem to be automatically detected. Lets say I have two options - “Dx” and “Dy”. Rhino selects the shorcuts “D” (for Dx) and “Y” for (Dy). However, I would...
View ArticleMultiple block definitions with same "Type" displayed in Object properties page
Hi, Is it possible to create multiple block definitions with same “Type” displayed in Object properties page, through Rhinocommon? (Just like Visual Arq blocks) image698×370 21.1 KB 1 post - 1...
View ArticleSerialization issue
I have a plugin that suddenly fails on serialization, specifically it states that Rhino.Collections.Point3dList + XAccess is not marked as serializable. I am fairly certain this issue just appeared,...
View ArticleDisplay Conduit
Would anything cause a Curve to not draw when passed to Rhino.Display.DisplayPipeline.DrawCurve() (as part of a derived display conduit)? I am calling this in a loop and some of the Curves draw and...
View ArticleUnroll Surface not working in grasshopper
When I use the unroll command in Rhino, the surface seems to unroll normally. However, when I use the same code in a GhPython, things go haywire. Sometimes the development doesn’t even come out and it...
View ArticleTextBox.TextChanged event
Hi everyone, I am in trouble with TextBox.TextChanged event. When I tried to change value in TextBox in order to manipulate geometry, it doesn’t wait me complete what I want to type in TextBox. For...
View ArticleHow to manipulate the display style and visibility of objects outside of the...
Is it possible to control and manipulate the display style and visibility of objects outside of the block while in BlockEdit mode? For example turning outside things off, show them in a different...
View Article