How can I tell if I am in Modelspace or Paperspace. There's the TILEMODE that I can read but this does me no good if I'm in a viewport in paperspace. If I'm in a viewport I'm really in model am I not but the Thisdrawing.Activespace returns 0 (acPaperSpace) when I'm in a viewport or in the layout. What can I check to see if my layout is active or if a viewport is active?