Welcome to %s forums

BrainModular Users Forum

Login Register

Comment out lines in Usine Files?

General Discussion about whatever fits..
Post Reply
styro
Member
Posts: 11
Contact:

Comment out lines in Usine Files?

Unread post by styro » 09 Jan 2024, 11:39

Hello, hope You all started well in 2024!
Since the Usine-files (Workplace/Patches etc) are textfiles and editing them directly seems to work (tried simple stuff like path to files etc)
it would come handy sometimes to comment out lines to test out things.... is there a possibility for that? Extremly cool would be some sort of preprocessor
to conditionally adjust things like pathnames/devicenames/(ip-)adresses etc to ease the differences between the developement and production-machine :-)

all the best and keep up the great work!

styro

sm_jamieson
Member
Posts: 551
Contact:

Unread post by sm_jamieson » 10 Jan 2024, 21:34

If you are familiar with scripting e.g. perl, powershell etc. you can create your own comment format and a script to generate the version that Usine can read, I.e. do the comment and preprocessing outside of Usine just before it runs. Launch Usine via a script that pre-processes the files and then starts Usine.

Post Reply

Who is online

Users browsing this forum: No registered users and 38 guests