Attributes object skectchup in a char variable in Ruby?
-
Hi,
I have create on sketchup one dynamic objet with some attributes as a name, a description, a lenght, a position x, y, z ect ect...
The goal is to take this attribute when i click on this object and to put them in a char variable in a ruby script.
It's possible?
This is a function or i must to pass by listener/reaction ect ect ...?
If you have an idea or somthething, it's cool.CYA
Pauline
-
Hi Pauline, you could make your own tool that allows the user to click on a Dynamic Component and it could read the content of the Dynamic component and store them in ruby variables. It is definitely possible to do if you write you own tool to do it.
Does that sound like what you want to do?
Chris
-
Y i want create a script who can put in a ruby variables some attribute of my dynamic object when i click on him, but i don't know how to do this...
I know c, c++, java, php 5 but sketchup and ruby is new for me .
If you can help me, it's nice.
thx
Advertisement