Autotext String Width

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-08-08 03:16 AM
width=STW('<DRAWINGNAME>')*A_/1000
TEXT2 0,0,'<DRAWINGNAME>'
LINE2 0, 0, width, 0
Whilst this correctly displays the drawing name, the text anchor and line length use the width of the 13 characters in <DRAWINGNAME> and not the actual drawings name.
I (think) i understand why this doesn't work - the <DRAWINGNAME> autotext conversion to the correct drawing name is done
So is there a REQUEST function to get the name of the attached drawing name? I can't find anything in the AC10 GDL Reference Guide .. is there another more extensive list somewhere else?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-08-08 04:10 AM
AC_DrawingName is the answer which should be automatically listed in the parameter if we choose subtype Drawing Title. To make it works, we must first add this variable to the parameter manually.
There many more available Datas that shloud be included for subtype Drawing Title:
AC_DrawingNumber, AC_DrawingScale, AC_OriginalDrawingScale, AC_magnification, etc.
GS screw up again!

Win 10, Archicad 19 INT

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-08-08 04:47 AM
Nice to see GS is sticking to their usual standards of documentation

I'm sorry but where the f-ing hell is this stuff documented?
I have run a text search on every single bit of documentation that comes with AC. Not only can i not find it anywhere in that, the fact that these variables are not created automatically when selecting the
How many times do we have to say it ... If you add/change features you MUST include FULL documentation of ALL associated GDL commands and AC created variables as part of the documentation that ships with AC. We should not have to go any further than the Help Menu to find it!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-08-08 08:14 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-08-08 08:57 AM
i've downloaded the Basic Library 10 kit from http://www.graphisoft.com/support/developer/downloads/ but cannot seem to find any of this documented there ... as a matter of fact i cannot find any reference anywhere in any of the HTML documentation to the Layouting environment in AC10 (both browsing through it and Spotlighting the entire Lib kit folder to check the contents of all the HTML files ...)
I appreciate the help given so far but could anyone post a link to the appropriate web page, or a page number to any of the PDF docs for AC. I'd really like to work out why I can't find this stuff

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-08-08 10:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-08-08 10:40 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-08-09 04:03 AM
This really shouldn't be so hard to find. I wish i had the time to work these things out for myself but GDL is only my side job here. And anyway, I shouldn't have to work it out for myself. I would definately put myself in the
Matthew wrote:
Besides the lack of standards for structuring the parts (which is beginning to be addressed with the subtypes) there is no standard for ensuring that all these thing are properly documented and communicated to the end users. Guys like us can figure it out, but we really shouldn't have to, and the guys who haven't the time or inclination to figure it out should have a place to look this stuff up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-09-06 06:03 AM
LiHigh wrote:LiHigh,
AC_DrawingName is the answer which should be automatically listed in the parameter if we choose subtype Drawing Title. To make it works, we must first add this variable to the parameter manually.
There many more available Datas that shloud be included for subtype Drawing Title:
AC_DrawingNumber, AC_DrawingScale, AC_OriginalDrawingScale, AC_magnification, etc.
Thanks for tips.
Could you please explain what exactly you mean:- "To make it work, we must first add this variable to the parameter manually"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-09-06 08:38 AM