Message 1 of 3
Setting current Layout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Something estrange happened. After setting a layout for printing current,
LayoutManager.Current.CurrentLayout = LayoutName
btblRec = CType(tr.GetObject(db.CurrentSpaceId, OpenMode.ForWrite), BlockTableRecord)
db.CurrentSpaceId returned the ObjectID of the ModelSpace and not of the Layout set current. Have anybody seen this happening? Is there something that could prevent this from happening? Thanks for any help.