2023-11-16 05:30 PM - last edited on 2024-09-26 01:56 PM by Doreena Deng
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.
2023-11-17 04:12 AM
The 'Property Label' is a label in the default library.
I am not sure what else I can tell you about it.
Barry.
2023-11-17 02:34 AM
Have you studied the 'Property Label'?
It might already do what you want.
Barry.
2023-11-17 03:24 AM
I'm searching right now, could you give me a little more hints? ^^
2023-11-17 04:12 AM
The 'Property Label' is a label in the default library.
I am not sure what else I can tell you about it.
Barry.
2023-11-17 04:23 AM
I'm studying label_content_macro, but I can't find it ^^
2023-11-17 04:37 AM - edited 2023-11-17 04:39 AM
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.