leonucadom Posted Monday at 11:01 PM Posted Monday at 11:01 PM Hello all: I use a code that generates 3 viewports I would like the chain to be able to generate them in this way that the second viewport is a side view and the third viewport, front view but that in the second and third viewport the UCS is aligned to the view as in the second image If there's any way, I'd appreciate your advice or comments here my code (DEFUN C:V3 () (command "_MODEL" "_-vports" "3" "l" "'_.zoom" "_e" "_-VIEW" "_SWISO")) thanks Quote
BIGAL Posted 1 hour ago Posted 1 hour ago Ok its simple to use vpoint to set your view angles, code is part of a view choice lisp. (if (= look "R")(command-s "-vpoint" "1,0,0")) (if (= look "L")(command-s "-vpoint" "-1,0,0")) (if (= look "F")(command-s "-vpoint" "0,-1,0")) (if (= look "B")(command-s "-vpoint" "0,1,0")) (if (= look "P")(command-s "-vpoint" "0,0,1")) (if (= look "3")(command "_.vpoint" "-1,-1,1")) If you want auto 3 viewports then you need to ask what scale and pick say a point in model so the views can be based around that point. I would use a layout with a title block. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.