Title Alignment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2008-11-25 12:12 AM
ever since they were created and then modified/updated by me they have never parked themselves exactly in the corner of the drawing after it's placed. They are always off to the right about 1/8" (as you can see in the picture).
Any help would be appreciated.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2008-11-25 02:00 AM
Otherwise, look for something in your code that creates a transformation (ADD2, MUL2, etc.), your problem is most likely there. Perhaps there is an additional variable in those movements that you don't really want.
If all else fails, you could post the titles and see if anyone can find the issue. Otherwise it will be up to your own detective work and abilities.
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2008-11-25 02:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2008-12-01 10:43 PM
I drew the title and then saved them as titles from the Libraries & Objects menu.
Here's one of them. I'm learning about scripting in all my spare time and would be glad to figure out how to fix it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2008-12-01 10:46 PM
!
! Name : Title 1w GR.gsm
! Date : Monday, October 13, 2008
! Version : 10.00
! Written by ArchiCAD
!
mul2 A/0.156758, B/0.012700
add2 -1709'-3.4566", 705'-8.1747"
pen 1
line_property 0
line2 1709'-4.0126", -705'-7.6747", 1709'-4.0126", -705'-8.1747"
set fill "air space"
poly2_b{3} 5, 3, 0, 0,
0'-0.0000", 0'-0.0000", 3'-3.3701", 0'-0.0000", 0'-0.0000", 3'-3.3701",
1709'-3.5031", -705'-8.1747", 1,
1709'-3.5031", -705'-7.6747", 1,
1709'-9.6281", -705'-7.6747", 1,
1709'-9.6281", -705'-8.1747", 1,
1709'-3.5031", -705'-8.1747", 1
hotspot2 1709'-3.5031", -705'-8.1747"
hotspot2 1709'-3.5031", -705'-7.6747"
hotspot2 1709'-9.6281", -705'-7.6747"
hotspot2 1709'-9.6281", -705'-8.1747"
hotspot2 1709'-3.5031", -705'-8.1747"
define style{2} "AC_STYLE_1" "GraphMM_237 LT 310 NR", 10'-11.9444", 0
paragraph "AC_PRG_1" 2, 0'-0.0000", 0'-0.0000", 0'-0.0000", 3'-3.3701"
set style "AC_STYLE_1"
"<DRAWINGID>"
endparagraph
textblock "AC_TEXTBLOCK_1" 0'-0.0000", 5, 0'-0.0000", 3'-3.3701", 3'-3.3701", 3'-3.3701",
"AC_PRG_1"
richtext2 1709'-3.7617", -705'-7.9217", "AC_TEXTBLOCK_1"
paragraph "AC_PRG_2" 1, 0'-0.0000", 0'-0.0000", 0'-0.0000", 3'-3.3701"
"<DRAWINGNAME>"
endparagraph
textblock "AC_TEXTBLOCK_2" 0'-0.0000", 4, 0'-0.0000", 3'-3.3701", 3'-3.3701", 3'-3.3701",
"AC_PRG_2"
richtext2 1709'-4.2393", -705'-7.9217", "AC_TEXTBLOCK_2"
paragraph "AC_PRG_3" 3, 0'-0.0000", 0'-0.0000", 0'-0.0000", 3'-3.3701"
"<DRAWINGSCALE>"
endparagraph
textblock "AC_TEXTBLOCK_3" 0'-0.0000", 6, 0'-0.0000", 3'-3.3701", 3'-3.3701", 3'-3.3701",
"AC_PRG_3"
richtext2 1709'-9.3781", -705'-7.9252", "AC_TEXTBLOCK_3"

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2008-12-02 12:21 AM
I have several thoughts. First, not directly related to the problem, you should build any objects you want to save as GDL at/near the origin. This will make reading and understanding the code much clearer as you won't have the large numbers and conversions seen in your title object.
In the case of your title object, the line work is accomplished by the LINE2 and POLY2_[B} commands. Looking at where they start (1709'-3.5031") compared to the ADD2 command (1709'-3.4566") and noticing the difference, I suspect that your problem lies there. Although I have not done the math to confirm the suspicion. I would suggest that you remake the title object closer to the origin. By which I mean set a corner directly on the origin. You thereby eliminate some conversions that may be causing issue.
HTH
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2008-12-02 12:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2008-12-02 03:49 PM
So if you have the linework for the titleblock still on the floorplan somewhere, move it over to the 0,0 point, and then with the titleblock library part already open, physically drag it into the objects 2d script window where the new code should appear.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2008-12-02 08:16 PM
In the Parameters window I also had to choose "Store the ratio of current/default A/B sizes" under the "Details" button to keep the label from stretching. I don't know if this is a new feature in 12, but as I said, I am learning this slowly.
Now when I opened a title, though, I was only able to edit the 2d symbol and there was nothing in the script windows to edit. Do you know what I did that might have changed that?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2008-12-03 01:17 PM
siteline wrote:That is a very old feature of ArchiCAD, was there in 6.5 and possibly even earlier versions.
In the Parameters window I also had to choose "Store the ratio of current/default A/B sizes" under the "Details" button to keep the label from stretching. I don't know if this is a new feature in 12, but as I said, I am learning this slowly.
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28