How can I access Layerstates in C#?
@ralph_schoeneberg wrote: HelloHow can I access Layerstates in C#? I would like to find all LayerStates and if found, i want to activate a certain one. I know the LayerStateManager is part of a plugin...
View ArticleHow to get the source of a referenced object?
@fabian wrote: if IsReference is True for a RhinoObject, how can I find out from which referenced document the object is coming?RhinoObject.Document seems to always return the active document. Posts:...
View ArticlePreserve and display color source of object, when its layer is locked
@Troels wrote: Hi.I am developing a Rhino-plugin using RhinoCommon. I know how to set the color source of some geometry using ObjectColorSource. But when I lock the layer, the color of the geometry...
View ArticleDisplay geometry in document without adding it to a layer
@Troels wrote: I am developing a Rhino-plugin simulating the movement of a robot.I have also developed a series of Grasshopper components accomplishing the same functionality as the Rhino-plugin. In...
View ArticleBrep.CreateBooleanDifferecnce Not working consistently, and I need at least a...
@rick_riggs wrote: 0001_OnlyOneProfileWorking.gif1143x836 246 KB 0002_DrawingTheTwoBrepsFromTheSameCode-Successful.gif1143x836 754 KB The problem I am having, is that I am successfully creating two...
View ArticleUpdate page view after changes of a text field
@dsw wrote: hi, i'm using document text fields in an annotation text object, which are changed programmatically. (see http://docs.mcneel.com/rhino/5/help/en-us/information/text_fields.htm) After i...
View ArticleGet/modifiy UserText from Rhinocommon in Python
@jeffoulet wrote: Hi everybody, I'm stuck on a little problem: I want to read/modify UserText data of objects from Rhinocommon, but for the moment all my attempts stayed ineffective.. I tried to...
View ArticleChange "down" direction for dots/dims in detail viewport
@carlRTC wrote: Hello! We have automated the creation of a few hundred layout pages to be printed for our production processes. Some need to be landscape orientation, some need to be portrait. We'd...
View ArticleWhy is GetNurbForm() not getting correct/all surfaces from brep?
@Nicholas_Yue wrote: Hi, I have the following code attempting to extract the NURBS surfaces I see in the Rhino viewport. I used the sample file example_3dm_files_20130711/V5/v5_rhino_logo.3dm as a...
View ArticleBooleanUnion Failure SOLVED
@jordy1989 wrote: `Did have something to do with direction... Posts: 1 Participants: 1 Read full topic
View ArticleCan RhinoPlugin take arguments?
@TobyLai wrote: I have created a Rhino plugin, I have done some research and couldn't find a way to allow my plugin to take some arguments in the command line. For example, I have created a plugin to...
View ArticleCant not use Polyline.Item in c#
@pythonuser wrote: hi: in the sdk online off c# I cant found the property Item off polyline, but in vs, I cant not use it, it is have change in the new sdk ? if not, how cant I use it? Posts: 3...
View ArticleSelection count objects different?
@Matteoz991 wrote: Using the code below i'm getting a different count for selection.It looks like the missing obj is the one with property Name = "reference". So how can i get the same result from...
View ArticleScripting _-SelLast selects extra unwanted objects in C#
@cristina.b wrote: Hi, I have noticed that scripting _-SelLast command after _-Import will select the imported objects, plus any other objects that have just been created through the code right before...
View ArticlecameraView
@jordy1989 wrote: Hi, Before I want to "save" my current view and after the command I want to "load" my camera location/distance etc. so it will be exactly the same as when I start the function. I use...
View ArticleLayer from FileIO has reports FullPath property incorrectly
@andheum wrote: I'm using Rhino.FileIO to read a Rhino file obtained via File3dm.Read(filePath);I can easily get the list of Layers belonging to the file object, but when I get the Layer's "FullPath"...
View ArticleViewCaptureToFile render error
@salvam wrote: I´m using for capturing the view // Activamos la vista superiorRhinoApp.RunScript("_-SetActiveViewport Superior _Enter", false); // Renderizamos la...
View ArticleExample code/docs for RenderMaterial
@CarstenW wrote: I have now derived a material class from RenderMaterial, but it is not yet clear to me what needs to be done next. Is there some example code I can look at? How does the user see my...
View ArticleTrying to get the layers that are in a group
@AlanGreyjoy wrote: Hey, I am trying to get all the layers used in a group, then I want to run a function based on the layer names that are INSIDE that selected group. I have found plenty of other...
View ArticleMove control point for Brep (including Curves3d)
@jerry1 wrote: Hi every one, I am a new developer of Rhino-Plugin programing, and now I have a question,I need to move my control points of Brep, so I use the GetGrips function to move them....but the...
View Article