Setting view and c plane with one keystroke

I’ve set up (command+`) to get to my perspective view, but it doesn’t set the cplane in the default horizonta. It just makes a perspective of the model. I have to make another keystroke to set the plane. Is there a command that will do both at once.

You’ll need a macro including SetView World Perspective, what you’ve got already, I guess, and CPlane World Top

-Pascal

I tried combining the ‘scripts’ that showed up when I found each in the commands customization window, assigned them to an icon and then a key. But It doesn’t seem to actually combine them.

I entered this: '_CPlane _World _Top‘_SetView _World _Perspective

Also, maybe this should be another post, but I’ve suddenly lost control of the menu items - that is to say, when I click on split or trim, nothing is registered in the commands lines.

CCPony.3dm.zip (159.8 KB)

you need a space in between Top and SetView.

this macro will do what you want:

Cplane World Top SetView World Perspective

Thanks Jeff. What about the underscores and the apostrophe at the beginning?

if you’re using rhino in english, and you’re only writing macros for yourself or others using english… then you don’t have to use the underscores.

to be honest, i don’t know exactly how the apostrophe is meant to be used.
all of the default Zoom macros use them but with my personal Zoom macros, i don’t use them… with no discernible difference in behavior.

@Helvetosaur
what’s the apostrophe for?
thanks
:smile:

Kewl!

I don’t know about the apostrophe, but they show up in front of every command script I open.
And again, how come I’m losing the icon prompts for split and trim (and perhaps all others)??

In fact this problem "Also, maybe this should be another post, but I’ve suddenly lost control of the menu items - that is to say, when I click on split or trim, nothing is registered in the commands lines. "is happening even after closing the app and restarting it. Help Mr. Wizard!

I can’t even save the file to send you a copy!CCPony.3dm.zip (126.4 KB)

The next command is a nestable command, i.e. you can run the command without needing to cancel the previous one and the previous one will continue after this one.
http://docs.mcneel.com/rhino/5/help/en-us/information/rhinoscripting.htm

right. i’ve read that. but what’s a practical example which makes it clear?

for instance… i have Zoom Target on a thumb button.
i run Line then click a start point.
use the macro and draw my window then the camera zooms to there.
i can then click the second point on my line and the command completes.

is that not what’s meant by nestable?

as in, this works as a macro:

Line Pause Zoom Target 

?

it’s tough for me to say because i’m not sure about all the stuffs that happen on your computer etc.

i suppose it’s possible something has corrupted in the .plist .

you can reset rhino to a clean install state as outlined here:
http://wiki.mcneel.com/rhino/mac/resetprefs

that said, be aware rhino will go back to all default values and any customizations will need to be either restored or manually re-configured.

Yea, I can’t say that I’ve found any practical use for that…

I normally use something like this:

_SetMaximizedViewport Perspective _CPlane _World _Top

–Mitch