Subfolders in ScriptPlugins

ruimac

Member
Is it possible to create sub-folders or, somehow, organize script plugins, so that not all of them appear in the same ScriptPlugins folder?
 
You can save your script as a VSL into this folder :
%ProgramData%\vizrt\VizEngine\ScriptPlugins\

And in your script, you can use the RegisterPluginFolder.

You can check the documentation if you click here.

The name will be the script folder it will use.
Code:
Sub OnInitPlugin()
  RegisterPlugin("PluginName")
  RegisterPluginFolder("FolderName")
  RegisterPluginVersion(1, 0, 0)
end Sub
 
Last edited:
You can save your script as a VSL into this folder :
%ProgramData%\vizrt\VizEngine\ScriptPlugins\

And in your script, you can use the RegisterPluginFolder.

You can check the documentation if you click here.

The name will be the script folder it will use.
Code:
Sub OnInitPlugin()
RegisterPlugin("PluginName")
RegisterPluginFolder("FolderName")
RegisterPluginVersion(1, 0, 0)
end Sub


I tried doing it, but when I change the name of the folder, nothing appears.
Where should the plugin script appear?
Where should the folder appear?
 
Still can't place my ScriptPlugins in any other folder than "ScriptPlugins".
I mean, in Viz we have subfolders inside the Container Plugins. For example, Arrange, Container, ContainerFx, Control, Data, Default, Feed, Global, etc...
I would like that an additional folder named, for example, "My_Plugs" would appear among these, and my plugins would appear inside them.
Is it possible?
 
So, what does the RegisterPluginFolder command does?
No matter what I place there, the only thing that happens is that the plugin disappears.
 
Still no answer about what the RegisterPluginFolder command does?
If the command does nothing, why does it exists?
 
What do you mean?

you can export Viz Script as a Viz plugin. You can either drag and drop the script to the plugins or you can also save it as a VSL plugin.

by default, it goes to the Script Plugin Folder. But, you can define another folder in the script, if you wish to do so...this has been already answered.

what are you trying to do exactly?

Pedro
 
What do you mean?

you can export Viz Script as a Viz plugin. You can either drag and drop the script to the plugins or you can also save it as a VSL plugin.

by default, it goes to the Script Plugin Folder. But, you can define another folder in the script, if you wish to do so...this has been already answered.

what are you trying to do exactly?

Pedro

Hello, Pedro.
What I was trying to do was to have, inside Viz, additional folders inside the Categories list on the Plugins tab.
For example, we have Categories like "Arranje", "Data", "Dynamics", Lineup", or "ScriptPlugins".
I would like to know if I could create another Categorie, like "NewImage" or "MyUtilities", and my script plugins would appear there.
 
Back
Top