Grasshopper

generative modeling for Rhino

Pierre Roberson
  • Male
  • Novi, MI
  • United States
Share on Facebook
Share Twitter

Pierre Roberson's Groups

Pierre Roberson's Discussions

Custom Component - Bake to new layer
1 Reply

Hi all,I'm wondering if there is a way to bake items to a specific layers, created within a custom component. I have used the following code, but the problem here is that it bakes to the new layer on…Continue

Started this discussion. Last reply by Andrew Heumann Oct 25, 2012.

Locally defined value not inherited from windows form Dialogue.OK
2 Replies

The following code seems to work fine, except that it does not commit changes to the custom component when I click apply (dialogue.ok).What is happening is, when I input data into the Windows Form,…Continue

Started this discussion. Last reply by Pierre Roberson Oct 16, 2012.

Changed persistent data, not inherited as locally defined value

The following code seems to work fine, except that it does not commit changes to the custom component when I click apply.What is happening is, when I input data into the Windows Form, the data seems…Continue

Started Oct 15, 2012

Input information from windows form into custom component
1 Reply

I have gotten as far as displaying a windows forms dialogue box from a appended menu item. I am not sure how to gather data that is input into the form, and insert that information into the custom…Continue

Started this discussion. Last reply by David Rutten Oct 15, 2012.

 

Pierre Roberson's Page

Latest Activity

Pierre Roberson joined Luis Fraguada's group
Thumbnail

gHowl

gHowl is a set of components which extend Grasshopper's ability to communicate and exchange information with other applications and physical devices.See More
Dec 5, 2012
Andrew Heumann replied to Pierre Roberson's discussion Custom Component - Bake to new layer
"usually baking components incorporate a boolean input, so that the component only bakes when the value is true. If your boolean input is called bake: if bake Then Dim lay_index As Int32 = doc.Layers.Find(lay, True)If (lay_index < 0) Thenlay_index…"
Oct 25, 2012
Pierre Roberson posted a discussion

Custom Component - Bake to new layer

Hi all,I'm wondering if there is a way to bake items to a specific layers, created within a custom component. I have used the following code, but the problem here is that it bakes to the new layer on the initial solution computation. Then it repeatedly bakes to the default layer at each consecutive computation. Thus, I'm left with multiple copies of the initial geometry(one geometry on the new layer and N geometries on the default layer).What I would like to do is add N layers, then bake N…See More
Oct 25, 2012
Pierre Roberson replied to Pierre Roberson's discussion Locally defined value not inherited from windows form Dialogue.OK
"Thanks so much, that was it."
Oct 16, 2012
David Rutten replied to Pierre Roberson's discussion Locally defined value not inherited from windows form Dialogue.OK
"I think the mistake was this:   -- David Rutten david@mcneel.com Poprad, Slovakia"
Oct 16, 2012
Pierre Roberson posted discussions
Oct 16, 2012
Pierre Roberson replied to Pierre Roberson's discussion Untitled
"Sorry David, I had initially posted in the wrong forum. Thank you for the response."
Oct 15, 2012
David Rutten replied to Pierre Roberson's discussion Untitled
"I wrote a response to a similar question Pierre posted on the VB/C# forum. -- David Rutten david@mcneel.com Poprad, Slovakia"
Oct 15, 2012
djordje replied to Pierre Roberson's discussion Untitled
"Understood.Thank you for the reply, and I wish somebody will help you out with your problem."
Oct 15, 2012
Pierre Roberson replied to Pierre Roberson's discussion Untitled
"Yes it is a tiered seating algorithm built into a GH component. I have created the component, and am currently working out the bugs. I can not publicize it as of yet, as I am still perfecting the details. I will put it out once complete."
Oct 15, 2012
djordje replied to Pierre Roberson's discussion Untitled
"Hi Pierre, I can not help you unfortunately. But I got interested in that component you are using. Is that a stadium generator component?Where did you get it? Thank you."
Oct 15, 2012
David Rutten replied to Pierre Roberson's discussion Input information from windows form into custom component
"This is what I'd do. The logic here is: Get a pointer to the input parameter we're dealing with. (not shown above) If the input parameter already has incoming wires, don't show the window, but return immediately. Harvest the current…"
Oct 15, 2012
Pierre Roberson posted discussions
Oct 15, 2012
Pierre Roberson replied to Pierre Roberson's discussion Use Windows form to input data into custom component
"Thanks guys, I update the code with your suggestions. My understanding is still a bit murky when it comes to the windows stuff(see the reply above). I am developing a windows form, and am a bit confused as to why the form displays differently when…"
Oct 12, 2012
David Rutten replied to Pierre Roberson's discussion Use Windows form to input data into custom component
"See attached, it's basically just a find/replace of your code, and I may have botched it a bit. I'd also separate the logic that populates the Tag list from the logic that computes a new stadium cross section, but I haven't done…"
Oct 12, 2012
David Rutten replied to Pierre Roberson's discussion Use Windows form to input data into custom component
"Hi Pierre, some comments on the code so far (I'll upload an adjusted version later). Don't use multiple words for the same thing. Sometimes you use 'depth' sometimes 'width' sometimes 'y'. Sometimes…"
Oct 12, 2012

Profile Information

Company, School, or Organization
Lawrence Technological University

Comment Wall

You need to be a member of Grasshopper to add comments!

Join Grasshopper

  • No comments yet!
 
 
 

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2013   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service