Message 1 of 2
Default viewport created automatically using VBA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
I'm working with AutoCAD VBA and I’m encountering an issue that I can't quite figure out. Here's the situation:
- I create a new layout and a viewport programmatically using VBA.
- However, when I check the layout, I notice that there are two viewports instead of just the one I created. It seems like AutoCAD automatically creates an extra viewport.
- I then try to delete the extra viewport, but nothing happens. The viewport remains in the layout even after attempting to delete it.
Has anyone experienced a similar issue where AutoCAD automatically adds an extra viewport when creating a new layout via VBA? If so, how can I delete the extra viewport or prevent it from being created in the first place?
Any help or guidance would be greatly appreciated!
Thanks in advance!