Copy link to clipboard
Copied
Hello,
Background - I have a couple PDF floorplans with close to 100 cubicles and due to internal staff turnover, it needs to be updated often. I was able to use Excel vba to dynamically update the cublicle assignments, but since the floorplans were plotted with all the layers, including dimensions, fixtures to plumbing, the drawings are very clutter.
My question - is it possible to turn layers on/off with VBA. Something like AvDoc.Lyaers("xxx").visible = false
Thanks.
You can use a user folder. Info about this for version XI:
Copy link to clipboard
Copied
You can use Visual Basic - Javascript bridge.
Copy link to clipboard
Copied
You mean using the JSObject? I thought about that, but I have a couple problems. I don't have write access to the Adobe folder and I don't appear to have a "user" folder. Will it work if I use my user folder instead and where should I create the user foler for Acrobat DC?
My app folder is:
C/Program Files (x86)/Adobe/Acrobat DC/Acrobat/JavaScripts
Copy link to clipboard
Copied
You can use a user folder. Info about this for version XI:
Copy link to clipboard
Copied
Thanks Bernd!
The link you provided was only for XI, which the path is completely different for DC. But with the that additional information, I was able to search for the correct path.
...