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

paper width?

Aussie John
Newcomer
Has anyone worked out how to extract the width of the layout sheet?

The title "linear Drawing title 10" uses "gs_title_width_paper" but that doesnt seem to call up the width directly.
Also the sheeting indexes us the paper size so the info is there somewhere but how to get it?
Any ideas?
thanks
Cheers John
John Hyland : ARINA : www.arina.biz
User ver 4 to 12 - Jumped to v22 - so many options and settings!!!
OSX 10.15.6 [Catalina] : Archicad 22 : 15" MacBook Pro 2019
[/size]
3 REPLIES 3
The layout, grid, and drawing data are in parameter arrays in the drawing title object. The layout is ACLayout_Rect. So:
layoutWidth = ACLayout_Rect[3] - ACLayout_Rect[1]
James Murray

Archicad 25 • Rill Architects • macOS • OnLand.info
Aussie John
Newcomer
Thanks James
Is there any documentation on this? I not sure how it is working
Cheers John
John Hyland : ARINA : www.arina.biz
User ver 4 to 12 - Jumped to v22 - so many options and settings!!!
OSX 10.15.6 [Catalina] : Archicad 22 : 15" MacBook Pro 2019
[/size]
Frank Beister
Advisor
I don't know a documentation of the layout object class, but there is a doc of the basic library, where you can find some of the constant local parameters: Basic Lib 10. Especially see Appendix A - Fix named optional parameters.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm