Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

How to get the drawing name automatically?

Anonymous
Not applicable
Hello everyone! I tried many methods can not automatically get the drawing name.
text2 0,0,DRAWINGNAME
n = REQUEST ("AUTOTEXT_LIST", DRAWINGNAME, autoTextListArray)
text2 0,0,autoTextListArray
I do not know what I was wrong?
3 REPLIES 3
Barry Kelly
Moderator
You should be able to use ...
TEXT2 0,0, <DRAWINGNAME>
When ever I want to script autotext , I just add it as text in plan view and then save as an object.
Open the object script and you have the autotext parameter.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
hi!Barry Kelly,
HI! Barry Kelly, thanks for your help.
But I want to get Drawing name from Drawing Title.
name.png
Barry Kelly
Moderator
This is for the drawing name assigned to the drawing in the drawing settings (see attached image).
Your drawing title should also be using this value unless it is just plain text.
There is only one autotext for drawing name as far as I know.

Barry.
drawing_name_3.jpg
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11