Author Topic: Switching from paper space to model space  (Read 1877 times)

0 Members and 1 Guest are viewing this topic.

cannorth

  • Guest
Switching from paper space to model space
« on: March 19, 2014, 05:21:50 PM »
Hello,

  What are some solutions to switch from paper space to model space.

  I've tried the following:

                           ThisDrawing.Application.ActiveDocument.SetVariable("TILEMODE", 1)
                         
                           Application.SetSystemVariable("TILEMODE", 1)
                           
                            ThisDrawing.Application.ActiveDocument.ActiveSpace = AutoCAD.Interop.Common.AcActiveSpace.acModelSpace
                         
                            Editor.SwitchToModelSpace

  Any other ideas that could change to model space?

Thanks,

cannorth

gile

  • Gator
  • Posts: 2507
  • Marseille, France
Re: Switching from paper space to model space
« Reply #1 on: March 19, 2014, 05:44:17 PM »
HostApplicationServices.WorkingDatabase.tilemode = true;
Speaking English as a French Frog