Hello Claes,
I'm trying to configure my various proview project with the same kind of options for easy debugging (I mean NodeConfig option or BuildOptions to be always the same) which are today created by each developper independantly
To avoid diffrent options according to differnt coder, I would like to create the project automatically based on a LibreOffice Calc sheet gathering the number of plc I want (ie the number of RootVolume) and then let the coder only deals with the RootVolume once created.
I have tried to do this in a script and at the moment, I automatically created the Project_list.dat and the directory.wb_load with all my desired nodeconfig but I failed on RootVolume creation.
What function do you use behind the proview wizard to create a rootvolume with a given volume id (assuming its unique and correct of course) ? I'm lost in the wb_cmd source files but can't find what I'm looking for.
Is what I intend to do possible ? or am I on complex track ?
Thanks for your help in advance
[EDIT]
It looks like a simple directory .db creation and an insertion in the global volume list .dat file is sufficient.
I will try to reload the database from a basic skeleton .wb_load to check if volume recovers correctly from scratch.
[/EDIT]
Snarf