GH_Structure to Tree output from Visual Studio c#
@AndrewAhn wrote: protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddBooleanParameter("open", "open", "connect button to open file",...
View ArticleLess CPU intensive way to adjust slider values in python component
@robinmouwen wrote: I’m currently using ghenv.Component.OnPingDocument().Objects But this causes a lot of points and geometries to be constantly redefined and puts a lot of strain on my CPU and makes...
View ArticleC# AND GH. How can I divide grid into another grid?
@aurelija.matuleviciu wrote: Hi, I think my question is quite superficial, but I am new with c#. I need to divide grid I created into the another grid. I tried to do so by creating a list of points...
View ArticleGH_ParamAccess.tree not working as intended
@AndrewAhn wrote: protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddBooleanParameter("open", "open", "connect button to open file",...
View ArticleNodeInCode DivideCurve strange result
@Dani_Abalde wrote: Hi @piac, The DivideCurve component returns three strange results, am I doing something wrong? Canvas at 17;02;35.png733x475 26.7 KB private void RunScript(ref object A, ref object...
View ArticleConstruct mesh from topology
@Amir_Habibi wrote: Hi What is the best way to create mesh faces (quad or tri) from an unsorted list of points so to make a mesh ? See the attached internalised Points Unsorted Points.gh (5.0 KB)...
View ArticleConstruct mesh (faces and vertices )
@Amir_Habibi wrote: Hi all , Since I found no method same as ( Grasshopper: Construct mesh ) in Rhinocommon , What is the proper way to make mesh from faces and vertices ? Posts: 3 Participants: 3...
View Articleghdoc.ExpireSolution required after modifying input NumberSlider?
@RIL wrote: So, I made a C# component that can reset an input slider value to a desired value. But do I really have to expire the entire solution after modifying the slider? What happens if I’m not?...
View ArticleHow to differ a (Clustered) GH_ScriptComponent's InParam from a ClusterInput?
@RIL wrote: OK, so I’m manipulating input sliders on my script component, but in order to test the component I need to connect several components, and thus for every modification in the C# script I...
View ArticleRead geometry by GUID from 3dm Files
@laur wrote: Hello, I want to read certain items from a 3dm-File, but I don’t get how to get the Find(GUID)-Function to work....
View ArticleC# Cleaning Tree in Visual Studio
@tchen wrote: So I have a tree with points, some entries are null. Inside GH you can use the clean tree component to cull all null items. How to do it in visual studio? I’ve tried removing all null...
View ArticleDegrees option in inputs
@Amir_Habibi wrote: Hi all How am I gonna add the degrees option in component’s input ? (In Visual Studio , using C#) degree.png850x790 118 KB Posts: 4 Participants: 3 Read full topic
View ArticleSimplest F# plug-in? Fully functional
@nathanletwory wrote: I was testing to see if I could get an F# plug-in for Grasshopper on the Mac working. Throwing the amazing code out there in case someone is interested. The component provided by...
View ArticleManipulate ControlPoints on Curves from GH-C#?
@RIL wrote: OK, so I was thinking of manipulating (stacking / moving) curves by manipulating ControlPoints from a C# script, but I can’t find out how to gain access the CP’s of a given curve. Given a...
View ArticleBreak during debug(solved)
@andrealu2012 wrote: In visual studio 2017 community edition,when click the "start"button to start debug,VS will launch rhino to debug,and than I open gh doc related to developing component,and then...
View ArticleHow to extract the border curve of a surface
@c.heck wrote: Hi all, I have a RhinoScript that operates directly from Rhino itself. I am taking a list of all surfaces in the project (or a selection thereof), and for each surface I want to access...
View ArticleAdd a custom icon image to Grasshopper plugin tabs
@Dongyeop_Lee wrote: Hello, I asked this question last year, but I didn’t have a chance to use it that time. I’m trying to add a custom icon image to a plugin tab like below. Because I’m very new to...
View ArticlePlayer like window for scripts?
@ZipStone wrote: We’re creating scripts for the Grasshopper-ArchiCAD connection and it would be nice from an end user point of view to have a windows for running ready made scripts. Mych like Dynamo...
View ArticleHow to remove "Tree Artifacts" from an output
@ashjohnston wrote: Capture2.PNG1173x552 24.5 KB I want to make the LEFT output look like the RIGHT input (Take away the {0;30}) Any help appreciated! Posts: 5 Participants: 2 Read full topic
View ArticleCrash with compiled GHPY component
@nbarnes wrote: I’m having an issue with loading grasshopper and it is getting stuck at the 86% GhPython loading. I don’t get a crash report, but I do get a break state window. However, when I open in...
View Article