Can't navigate to files in macros or strings

Hey there

I kep trying to write a macro for pulling named views from a template file, and then restoring them. But every time I try to use the command line, I cant find the file with the string I type in.

It looks like this:
_-NamedView _Import “/Users/johnny5ive/Library/Application Support/McNeel/Rhinoceros/Template Files/DefaultR8Template.3dm”

That string will not work. But when I use the UI, it works fine. Can someone help me with the string formatting or tell me what I am doing wrong?

Thanks.

You must make sure you are not using “intelligent” quotes. They get inverted. You HAVE to ensure you have straight double quotes:

_-NamedView _Import "/Users/johnny5ive/Library/Application Support/McNeel/Rhinoceros/Template Files/DefaultR8Template.3dm" _Enter

Also, you’ll want to end with an _Enter.

That didn’t work. It does appear to be escaping at the space:

3DM file to import named views from ( Browse )“/Users/johnny5ive/Library/Application
Unable to locate file <“/Users/johnny5ive/Library/Application>.
Choose named view option ( List Save Restore Delete Rename Import TabVisibility )Support/McNeel/Rhinoceros/Template
Unknown command: Support/McNeel/Rhinoceros/Template
Choose named view option ( List Save Restore Delete Rename Import TabVisibility )Files/DefaultR8Template.3dm”
Unknown command: Files/DefaultR8Template.3dm”
Choose named view option ( List Save Restore Delete Rename Import TabVisibility )_Enter

I tested with _-NamedView _Import "/Users/jesterking/Documents/3dms/discourse/with spaces/25-04-01 -3D printed phone stand.3dm" _Enter, that worked just fine.

That imported the named view Glorious that I created in the file.

Can you perhaps make screenshot of the command history output instead of copy&pasting just the text?

Make at least sure you don’t have your Mac configured to use smart quotes and dashes: