Can a library part query a layout name?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-11-17 01:39 AM
2010-11-17
01:39 AM
We have a North Point library part and we'd like to have it turn off if the Layout Title does not contain the word 'PLAN'. Is it possible for a library part to query a layout name? If so, can you please provide the code?
Cheers,
Link.
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-11-17 03:41 AM
2010-11-17
03:41 AM
I don't think so.
You can of course use autotext in an object to place the name of the layout but as far as I know you can't enquire the autotext in any way to find out exactly what is in it.
Barry.
You can of course use autotext in an object to place the name of the layout but as far as I know you can't enquire the autotext in any way to find out exactly what is in it.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11