PDA

View Full Version : Activate a Layout



bweir
2007-04-04, 08:05 PM
I've created a tool palette that populates a list with the names of the layouts for the active drawing. I would like to be able to double click the layout name from the list and that corresponding layout tab becomes active. I thought I could do something like the following pseudo-code.

LayoutManager.CurrentLayout = List.SelectedItem.Text
But the layout does not become active and sometimes this crashes AutoCAD.

Using VB.Net