Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8547

Array user input

$
0
0

@Theofanis wrote:

Hello,

Any ideas of how I could program a plugin in C# in order to ask a Rhino User to input values in an array form? I mean instead of inputting a single value, to be able to provide an array of values. I am familiar with the get/add options in order to make the users to provide a single value, but I cannot figure out how I can make them to provide an array of elements.

I would like to use this array in order to create index numbers for each of the lines I have created.

So, for example: I have 5 lines, an empty array “myArray” of five elements and I want the user to be able to give 5 values in the Rhino command line in order to fill the array, so as the array will assign each number to each line.

The part I have problem is how to get/add by the user an array of values. All the rest are known.

Thank you :slight_smile:

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 8547

Trending Articles