Message 1 of 4
Turning on layers with VBA

Not applicable
07-18-2020
05:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have written VBA code in AutoCad that will open a certain drawing for the user, but I want it to turn on certain layers based on used input. Let's say for this example I want to turn on the layer named "Walls". How would I go about this? The layer is off when the document is opened. I'm sure this is a simple couple lines of code but I just can't seem to figure it out.
thanks in advance!