Section / Elevation Marker - Sheet Layout ID Text Manipulation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2022-02-15 08:17 AM - edited ‎2022-02-16 12:17 AM
Hi All,
I am trying to make some edits to a Section and Elevation marker to remove a portion of the Layout Sheet ID from being displayed from the section marker.
I'm using the following code:
layoutid = "<MARKERSHEETNUMBER_R>"+AC_DrawingGUID
trim = STRSUB(layoutid,18,STRLEN(layoutid))
TEXT2 5,0, trim
But instead of trimming the sheet name from NSPS-FTA-D-ZZ-DR-A-3001 to A-3001 I'm getting ER_R><NULLGUID><NULLGUID><6A3C429-0F99-4FB0-B356-1C8AF7E2447A>
I'm guessing the script is not computing what the sheet name actually is until it tries to draw it on the sheet and instead i'm just performing the STRSUB on the autotext instead.
Is there any way to achieve what I'm trying to do?
Thanks,
Scott
Since AC13 | Current versions AC23.7000 & AC26.5002 | BIMCloud Basic | Python, GDL, VBA, PHP, SQL, CSS
Certified Graphisoft BIM Manger (2022)
Win 10, i9-9900K, 32GB, Quadro P2200, 500GB NVMe
Solved! Go to Solution.
- Labels:
-
Library (GDL)
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2022-02-16 11:25 AM
Hi,
Autotexts' content are not visible in GDL, they can't be modified.
Software Engineer, Library
Graphisoft SE, Budapest

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2022-02-16 11:25 AM
Hi,
Autotexts' content are not visible in GDL, they can't be modified.
Software Engineer, Library
Graphisoft SE, Budapest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2022-03-04 07:58 AM
Thanks Peter. That was what I feared.
Since AC13 | Current versions AC23.7000 & AC26.5002 | BIMCloud Basic | Python, GDL, VBA, PHP, SQL, CSS
Certified Graphisoft BIM Manger (2022)
Win 10, i9-9900K, 32GB, Quadro P2200, 500GB NVMe