Text variable within a component?
-
hi,
is there a ruby-variable, which can showthe NAME OF THE COMPONENT-INSTANCE
even when the text (=variable) is placed within the component definition?
i would like to achieve, that the name of the instance (unique, while created by my ruby, is displayed thru my ruby-script,
but the text always is moved with the component by the user (it "sricks" to it),but i don't want to create a group 'around' them.
is there any solution for that idea?
thanx
stan -
Both the definetion and the instance have their own
name()
andname=()
methods.
But these attributes are displayed in the EntityInfo dialog. (They are not text objects.)You could wrap the instance and a text object within a unique group. Then they would move together.
-
hi dan,
yes, i understand.
i solved the problem with the following solution:the component-related text is placed outside
and with every calculation per ruby it is selectively deleted and placed with new parameters
at the new components position.seems to work well.
stan
Advertisement