-
1
- #1
shadow
Computer
- Mar 1, 2001
- 321
ok i know this much the hotkey commnad is
CTRL+R that toggles thru the viewports ok
the command i think it uses is this
CVPORTS and whatever its variable is set to thats what vport is set as current
but if your not in a vport it returns an error so what im propossing to do is this create a button macro so that you can do the same as the CTRL+R hotkey set
im thinking the macro should start out something like this
^C^CMS;cvport;1;
but this is all well and good but im wanting to incrementally set this and also start at number one when first implemented so what the macro should do is this
1 change to model space
2 start the CVPORT command
3 look to see if cvport has been used and if so start
at vport no.1
4 incremintally add 1 to the CVPORT setting but restart
at 1 when the number of vports has been reached
If i figure out how to do this via a button macro ill post it here but if someone thinks that it can't be done this way and a lisp would have to be written then i guess for now im out of luck till i learn lisp or someone does it for me but even if i could just get some hints cause i know in button macros i can use some of the lisp functions
CTRL+R that toggles thru the viewports ok
the command i think it uses is this
CVPORTS and whatever its variable is set to thats what vport is set as current
but if your not in a vport it returns an error so what im propossing to do is this create a button macro so that you can do the same as the CTRL+R hotkey set
im thinking the macro should start out something like this
^C^CMS;cvport;1;
but this is all well and good but im wanting to incrementally set this and also start at number one when first implemented so what the macro should do is this
1 change to model space
2 start the CVPORT command
3 look to see if cvport has been used and if so start
at vport no.1
4 incremintally add 1 to the CVPORT setting but restart
at 1 when the number of vports has been reached
If i figure out how to do this via a button macro ill post it here but if someone thinks that it can't be done this way and a lisp would have to be written then i guess for now im out of luck till i learn lisp or someone does it for me but even if i could just get some hints cause i know in button macros i can use some of the lisp functions