Quantcast
Viewing all articles
Browse latest Browse all 14319

Setting current Layout

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.

 

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 14319

Trending Articles