Hello,
is there a possibility to modify the data points of a VC4 visualization directly in the corresponding files in a text editor before opening the VC4 object?
This would save a lot of time when VC4 Object is copied to another project.
something like
If I do this the copied VC4 looses all modified data point connections.
Hi Valerio, problem with file compare you can see the modified file. But with git you can immediately see not only the file but also what inside of the file was changed. I would go this way. But it is up to you. Tbh the things you are looking for is not documented, so if anyone does not have experiences with this, you have to drill down more to it by yourself. You can share with us your findings
Thanks for the hint (I did compare with winmerge).
Finally I didn’t figure out how to modify the DataSource.dso file successfully.
And I found following process it most efficiently:
We have to reach a compilable status of the task controlling the VC-Object
(In my projects I use to have only one task controlling one VC-Object).
Copy the VC-Object from the source project.
Open the VC-Object and work with the “find + replace” dialog over the entire VC-Object.
The replacing process is checking if the new data point expression is valid and if not
leaves the old expression. So the old not valid expressions are still there and the VC-
Object can be saved in-between.
(The find replace dialog is a bit buggy and causes the AS to crash. I think it is when
searching for something which does not exist, but honestly I didn’t investigate, as I was
happy to save a lot of engineering time.)