Message 1 of 12
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I need to rename a layout from a .dwg document opened using ObjectDBX library (from Visual Basic for Applications). I tried this:
layout.Name="New name"
where "layout" is the layout object I want to modify.
Then I get an error:
layout does not exist for renaming
I need to do this without opening the file in Autocad. When I execute the same code from inside Autocad, it works perfectly. Maybe it can't be done by using ObjectDBX. Am I right?
Thanks.
Solved! Go to Solution.