Page 1 of 1

how to export and import function

Posted: Thu Apr 07, 2016 11:15 am
by Patfrwar
Hello

I have a question

is there a tool or function to merge several files qxw ?

because i have some files with the same fixtures but the functions are not the same so i think it would be nice to have tools or function in QLC to export some functions and possibiliti to import them in an other file

Many Thank's for your great jobs

Re: how to export and import function

Posted: Thu Apr 07, 2016 2:15 pm
by janosvitok
There's no tool currently.

Since qxw files are plain text XML files, if you know XML structure, you may open the file in a plain text editor ("notepad"), copy functions from one qxw to another, and change IDs so that they are unique.
Make sure you have backup of original files in case something goes wrong!

Re: how to export and import function

Posted: Thu Apr 07, 2016 3:27 pm
by Patfrwar
Thank's Jano for your reply
it's what i begin to do but the difficult is the id number of the function

how Qlc+ react if there is two or more functions with the same id in the qxw file ?

Thank's for your help

Re: how to export and import function

Posted: Thu Apr 07, 2016 3:40 pm
by plugz
Patfrwar wrote: Thank's Jano for your reply
it's what i begin to do but the difficult is the id number of the function

how Qlc+ react if there is two or more functions with the same id in the qxw file ?

Thank's for your help
It may crash or perform very randomly. Or maybe it will simply ignore one of the 2 functions.