Grasshopper

algorithmic modeling for Rhino

hey!

 

How do I get the three informations in one row without the dash dot at the end?

the function is: Format("{0};",x)

 

Thank You for help

 

DeDackel

 

Views: 299

Attachments:

Replies to This Discussion

Chris

Thanks Chris,

I like it!

 

DeDackel

Hi Dackel,

 

There is a Create Branch Component if that is what you are trying to achieve.

Hey Danny,

 

It was just a question of a friend of mine. He had a drawing with a lot of points. This points had to be named with the coordinates.

 

1. So I had the point coordinates, like you have got create it. But I wanted to get rid of the { }.

2. And I wanted to use only integers. He had points like 234523e-10. I guess bad presettings of the file are the reason for that. But they had to stay as they are. So I decomposed the Point got the integers and sort them again in x;y;z.

 

So thanks for your advice!

 

Best regards

 

DeDackel

You don't need to strip out the components to reformat them as you are able to get at the x,y and z components of the x input.

Of course if you wanted to have the semi-colon ";" instead of comma "," just substitute whats inside the Quotation Marks. eg. "{0};{1};{2}"  

I love it!

I tried somthing simalar. But I did not knew the exact build up of the inside of the semi-colon!

 

the ## is the best part of it!!!

 

Many thanks!

 

DeDackel

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service