2 weeks ago
1. Object was selected as the label.
I want to know the file name of the selected object.
I'm trying to create an annotation label.
I want to put a different value in _stringValue with the name of the object.
Is it possible to create a two-tier label like this?
I know that letters can be created.
But I think there is no way to create a line.
I think I asked a question before...
Solved! Go to Solution.
2 weeks ago
Have you studied the 'Property Label'?
It might already do what you want.
Barry.
2 weeks ago
I'm searching right now, could you give me a little more hints? ^^
2 weeks ago
The 'Property Label' is a label in the default library.
I am not sure what else I can tell you about it.
Barry.
2 weeks ago
I'm studying label_content_macro, but I can't find it ^^
2 weeks ago - last edited 2 weeks ago
I found it in "label_content_macro" with your help. ^^
With your help, I smile twice.
_dummy = request("Assoclp_Name", "", _compNameText)
n = REQUEST ("ASSOCLP_NAME", "", name)
Returns in the given variable the name of the library part associated with the label or marker object. For elements (Walls, Slabs, etc.) the name
is an empty string. Expression returns 0 and contains dummy return values (emtpy string or 0) if used in parameter script, causing additional warning.