ercegs
Mechanical
- Jun 26, 2007
- 69
Hi.
Is it possible to set up 3d viewports without accessing viewport dialog box?
Here is my problem. I have a lisp file creating a cylinder, and I want that lisp to automatically creates for me 4 viewports with different views. In one view to be isometric, and in the rest to be top, front, side view.
But I want all of this to be accomplished from command line, because of lisp.
If you type in your command line -vports, you will get an option to select how many viewports do you need and if you choose 4, your display will be split into 4 equal windows. But the problem is, that each window has the same view.
But, if you type vport ( if you omit "-") then you will get a pop up window and there you will have an option at the bottom of the window called SETUP. Here you can setup whether you want 2d or 3d...if you choose 3d, you will automatically get 4 viewports with different views, and that is what I need.
Now, my only problem here, actually, is how to change this option from 2d to 3d from acad's command line.
Is this possible at all? Is there any system variable that can be changed to automatically set this up to be 3D by default?
Thank you in advance
Is it possible to set up 3d viewports without accessing viewport dialog box?
Here is my problem. I have a lisp file creating a cylinder, and I want that lisp to automatically creates for me 4 viewports with different views. In one view to be isometric, and in the rest to be top, front, side view.
But I want all of this to be accomplished from command line, because of lisp.
If you type in your command line -vports, you will get an option to select how many viewports do you need and if you choose 4, your display will be split into 4 equal windows. But the problem is, that each window has the same view.
But, if you type vport ( if you omit "-") then you will get a pop up window and there you will have an option at the bottom of the window called SETUP. Here you can setup whether you want 2d or 3d...if you choose 3d, you will automatically get 4 viewports with different views, and that is what I need.
Now, my only problem here, actually, is how to change this option from 2d to 3d from acad's command line.
Is this possible at all? Is there any system variable that can be changed to automatically set this up to be 3D by default?
Thank you in advance