Hi!
In the past, if I wanted to display the name of an object I’ve been able to put “objectname” (between two percent signs and the lesser than and greater than symbols) in a text field and it would display whatever name I assigned to the text. Now when I put that in, I get “IronPython.Runtime.Types.BuiltinFunction” displaying. Is there something different that I should be entering instead of “objectname”, or is this a bug?
Sorry, I tried putting the actual characters in this question, but it wouldn’t show the text with it!
Thanks for getting back to me. I believe your answer does make sense to me, but in order for my text field to display the name of itself, I would also have to know it’s GUID.
I usually use this command like this - I have it in my text field, then match the text to an object that has a name - that way, I have have the text show the name of the object that I have it match. This doesn’t work the way it did in Rhino 6.
Hi Christopher - ah, I see, the name of the text object itself, not the name of some other thing - you’re right, that no longer works - @Trav - should that work in V7?
Thanks for checking. I did a little playing around and it looks like the workaround is to put empty parenthesis after “ObjectName”. Rhino 6 worked without the empty parenthesis. So it would still be nice to get it fixed so Rhino 6 files open properly in 7.
I see… %<ObjectName()>% is what i added support for in the above YT. I’ve added the % < ObjectName > % just now which should make these v5/v6 compatible. Going forward you’ll want to make new files reference ObjectName() as all new v7 functions require () after them.