Hello,
I'm trying to ensure that my users will be working in the model space. I hope I am using the right term but here's a picture to make it clearer:
If the user would have the "Layout1" tab selected then I would force the user by code to be on the "Object" tab. To me, this is either model space or paper space... Hopefully I'm not confused about this.
In any case, I am trying to figure out how to do this via code. Is it even possible? I haven't found anything on Google yet.
Thanks in advance,
Alex
Solved! Go to Solution.
Solved by LE3. Go to Solution.
You can place this right on the top of your command or method:
LayoutManager.Current.CurrentLayout = "Model";
the other option is:
Application.SetSystemVariable("TILEMODE", 1);
but anyway, it switches back to previous tab when current command/program finished.
天涯海角的山姆
您认为此帖子是否有用?欢迎为此帖点赞。
您的问题是否已得到解答?请点击“接受解答”按钮。