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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement