Grasshopper

algorithmic modeling for Rhino

hi all!

Im tryng to convert a string in ASCII code.

the usual way in c# would be 

 byte[] NUmbers = Encoding.ASCII.GetBytes(myText);

BUT

 there is not the spacename  System.Text.Encoding  That we need included in the initial spacenames that grasshopper uses,

sooo

how could I import this space name?

something like 

using System.Text.Encoding;

Views: 1010

Replies to This Discussion

What if you just type:

byte[] NUmbers = System.Text.Encoding.ASCII.GetBytes(myText);

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

of course, but there is no way to import new space names?

Not at the moment.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

thanks david

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service