There is a potential work around, if the object is Drawing Title type, one of its parameters is AC_LayoutRect, which is an array that gives the extents of the layout the Drawing Title is on. So you might be able to use this information to determine the size of the layout. Juha's solution is much simpler.
You should add a Signature to your Profile (click the Profile button near the top of this page) with your ArchiCAD version and operating system (see mine for an example) for more accurate help in this forum.
We have named our masters so that the title block
knows the size, "4x2 horizontal" for example. (One
unit is european DIN A4 210*297 mm).
Juha- This was exactly what I was looking for. Do you have an example of the request script that you need to use. I'm a bit of a hack when it comes to request quotes. I just use one from another part that does what I want it to do.
ArchiCAD 9 - 22 (6021 AUS Full)
Win7 | 64 bit | 8Gb RAM | Intel i7 3.40 Ghz