How can I change a Mimic Template?

6 Posts
3 Users
0 Likes
34 Views
(@tm@mcatgroup.com)
Posts: 0
New Member Guest
 

Hi,

I have a project with 3 mimic template, while running the project if i click on a button my mimic template must change from template 1 to template 2, all the other content in the mimic must be as it is. If i click on another it changes to template 3. Is it possible?

-Tijo

 
Posted : 25/03/2017 5:58 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

Hi Tijo,

Technically speaking it's possible but actually that's not really an usual request.

Could you explain the situation that force you to do that?

Nico

 
Posted : 27/03/2017 7:13 am
b.lepeuple
(@b-lepeuplearcinfo-com)
Posts: 149
Estimable Member
 

Hi,

The question from Nico is good for us to understand if there is use case requiring us to work on making it easier.
If need to do it now, you will find some code doing exactly that in the QuickStart project.

The QuickStart project includes some scripting that switches:
- Mimic templates
- Mimic size
- Color Palette

Regards

 
Posted : 27/03/2017 12:21 pm
(@tm@mcatgroup.com)
Posts: 0
New Member Guest
 

Hi Nico,

The Requirement is

user can able to choose a predefined style out of 3 (Same content but only difference in the appearance). And the user last selection must reflect in his next login.

 
Posted : 27/03/2017 12:56 pm
(@j.becker@pcvue.de)
Posts: 0
New Member Guest
 

Hi, from my point of view, there are several ways:
1. overwrite Mimik-file (template-field)
2. rename Mimik (holding several mimics with predefined templates)
3. rename template (holding several templates)

in fact, I think, as you want also to use the user-context, I will be quite difficult to manage.

I could check also option 4: maybe it is also part of the generic-import-interface, than you could use that, but it would still not solve the user-context-issue.

to sum up, if you forget the user-context (saying, only the admin can change the style for all) it is quite easy.

if not, you should ask for a dev-request ;-).

Maybe others have better ideas.

 
Posted : 27/03/2017 1:29 pm
(@s.epaillard@arcinfo.com)
Posts: 0
New Member Guest
 

The only and the easiest way is to rename the mimic template with the Scada basic fcopy(VBA is always a bad idea when scada basic script exist).

The user context is more complicated to manage, you have to maintain a file with all the user and the associated template and the most important you will have to braodcast this configuration between all the PcVue station.

All of that will not be available on webvue contect of course.

 
Posted : 27/03/2017 1:52 pm