MoI discussion forum
MoI discussion forum

Full Version: named view new script

Show messages: All  1-11  12-20

From: Frenchy Pilou (PILOU)
21 Dec 2023   [#12] In reply to [#10]
I am affraid not! :)
From: Frenchy Pilou (PILOU)
21 Dec 2023   [#13]
Semi resolve! :)

I had both in Scripts and commands

Now works fine in Scripts! OK!

but when i move them in Commands i have a message! ;(
NamedView is missing or was renamed

and then



sure they are not in the Scripts folder but at the first time this morning that was working fine! :)

Fact to translate is maybe the glitch ...
I will try with the English version! :)

No it's the same don't works in the folder commands and nothing in the folder Script!

That works only alone in the folder scripts! :)

EDIT that works when both in Folder Commands & Scripts!
Maybe the accents ...


Bingo!
Yes definitly verified : alone in commands don't works, alone in scripts works but not list, in both works + list! :)
From: pressure (PEER)
22 Dec 2023   [#14] In reply to [#13]
Hi Pilou,

Re:
> alone in commands don't works

This plugin should go in scripts only. It won't work as well if it's in commands. Specifically, if it (or a duplicate of it) is in commands and it is run in the middle of another command it will cancel that other command.

Re:
> alone in scripts works but not list

That's because the thing that's generating the list is only looking in commands and and not in scripts. What's the add-on that's generating the list? The one from Max Smirnov?

- Peer
From: pressure (PEER)
22 Dec 2023   [#15] In reply to [#11]
Hi Metin,

Re:
> What I'd like is restoring a saved view as
> easy as possible, preferably with one
> hotkey, as I need to return to the view
> about 100 times during a single MoI
> session.

Yup that's exactly what I use this script for. Initially I aimed for the kind of quick recall you're talking about, but couldn't quite figure out a good UI for that. Like if the last saved view is the one that's loaded then there's the problem that maybe it's not the last saved one that I want and there's no way to reorder the views.

Do you actually need the ability to save multiple views? I don't: I use one .3dm for each illustration and so only ever have one view.

- Peer
From: Frenchy Pilou (PILOU)
22 Dec 2023   [#16] In reply to [#14]
Yes the scripts list by Max!
But magically with your 2 files inside the folders that is working! :)
And you win a shortcut! ;)
From: Metin (METIN_SEVEN)
22 Dec 2023   [#17] In reply to [#15]
Hi Peer,

Ah, now I get the Autoload function, sorry. I thought that meant that the last view would be automatically set after loading a 3DM scene, but it means that the last saved view is automatically activated.

That's great, thanks again!
From: pressure (PEER)
22 Dec 2023   [#18] In reply to [#17]
Hi Metin,

Re:
> but it means that the last saved view is automatically activated.

Not really. Autoload only works if there's exactly 1 saved view. If there are 2 or more saved views then it won't do anything.

- Peer
From: Metin (METIN_SEVEN)
22 Dec 2023   [#19] In reply to [#18]
That's fine, I usually need only one view. Thanks again!
From: BurrMan
22 Dec 2023   [#20] In reply to [#13]
“”””” Bingo!
Yes definitly verified ”””””

There was a setting in the custom ui that was a limit on how many items it would show. Years ago i had to change this to get wverything to show all the time.

I dont remember where, but if you are being “truncated” then look for this.

Show messages: All  1-11  12-20