Page 1 of 1

button that assign tags

Posted: Mon Oct 29, 2012 2:20 pm
by KevinA.
hi,
I'm using Ix developper 2.0 and iwas wondering if it was possible to assign tags or alias to other IO buttons and lights istead of doing them one by one? Or is there a way to define indirect tags with a script? How can I change a tag with a script?

Re: button that assign tags

Posted: Mon Oct 29, 2012 3:08 pm
by mark.monroe
There is no easy way to assign tags to objects in mass. You could copy and past an object and then modify the tag associated with that new object. That might speed things up a bit.

Re: button that assign tags

Posted: Mon Oct 29, 2012 3:15 pm
by KevinA.
Can I do a modification to a tag with a script? For example all my tags on my first page have a name and finnish by a number (TagName_1) and i could increment them by 10 or 20 so they it would become TagName_21. Is that possible?

Re: button that assign tags

Posted: Tue Oct 30, 2012 8:09 am
by mark.monroe
There is no way from within iX Developer to use a script to modify tag values in the development environment that are associated with a button. You would have to do it outside of iX Developer. You could look at the xml in the project folder and see how it is structured, then modify it there using a text processing program.

I can not help you with that, as it is outside the scope of normal iX Development. Also, if you do it wrong you could corrupt your project.

Re: button that assign tags

Posted: Tue Oct 30, 2012 9:28 am
by KevinA.
Thanks for the info and for the fast reply, really effective :D