Grasshopper

algorithmic modeling for Rhino

Kaveh Allahdin's Blog – October 2013 Archive (1)

Custom Parameter definition

Hi Guys,

I am trying to define a custom type to use it in between some component I am developing.I encountered a problem you may already know how to solve and can help.

my data type is a class like this:

 public class BaseProfile()

public BaseProfile(params object[] cellList)

 { this.ArticleNumber = (int)cellList[0];

   this.SystemName = (string)cellList[1];

    this.Material = (string)cellList[2];

    this.Shape = (string)cellList[3];

 ...}…

Continue

Added by Kaveh Allahdin on October 29, 2013 at 9:30am — 1 Comment

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service