PDA

View Full Version : Lisp File for tiling windows


djsilvertab
2008-07-23, 05:20 PM
Hey Guys i was wondering if there's a code out there to tile windows vertically or horizontally. I'd like to put "TVH" to tile horizontally and "TVV" to tile vertically instead of selecting tile windows first and then have to choose whether horizontally or vertically. i know what i want i'd like to eliminate one extra unneccessary step. Any help would be greatly appreciated

Newbie Here

tedg
2008-07-23, 05:47 PM
Hey Guys i was wondering if there's a code out there to tile windows vertically or horizontally. I'd like to put "TVH" to tile horizontally and "TVV" to tile vertically instead of selecting tile windows first and then have to choose whether horizontally or vertically. i know what i want i'd like to eliminate one extra unneccessary step. Any help would be greatly appreciated

Newbie Here
I have some quick routines I've written to do something like this:

;;changes vports to 3 vports
(defun c:3v ()
(command "vports" "3" "" "")(princ)
)
;;changes vports to 2 vertical vports
(defun c:TVV()
(command "vports" "2" "v" "")(princ)
)
;;changes vports to 2 horizontal vports
(defun c:TVH ()
(command "vports" "2" "h" "")(princ)

I changed two of them to your desired command ;)

djsilvertab
2008-07-23, 08:17 PM
Cool thanks so much for fast reply i tried it out the only thing is it creates new duplicate copies of the window i guess what i'm refering to is having 4 seperate drawings open like section, elevation east elevation south and be able to tile those windows with TVH or TVV

tedg
2008-07-23, 08:31 PM
Cool thanks so much for fast reply i tried it out the only thing is it creates new duplicate copies of the window i guess what i'm refering to is having 4 seperate drawings open like section, elevation east elevation south and be able to tile those windows with TVH or TVV
Ohhh, I get it now.... sorry, don't have a lisp can do that.