Skip to main content

Switching Projects via a Button in Reactor

Reactor allows to switch the current project viaeasily using a Button.button.

In the Project Manager, open the project details for the project you want to switch to. Copy the project's Filename exactly. It is necessary to toggle on Show Advanced to see the file name. 

Screenshot 2023-11-08 at 1.54.39 PM.png



ToOn dothe thisConfiguration Page, select the IOReferencebutton Reactor:CurrentProjectto withconfigure. a SKAARHOJ:SetValue Behavior and enterIn the nameInspector, ofselect yourChoose projectother intoParameter under the MatchValueSystem Fieldoptions. like so:

EditScreenshot 2023-11-08 at 2.06.13 PM.png

Parameter

In Dialog:the dialog box that pops up select:  Reactor/CurrentProject  then Submit

projectswitch ioref.png

Returning to the Inspector, select Show More if you do not see Settings Template available. 

InspectorScreenshot 2023-11-08 at 2.06.58 PM.png

View:

In the Settings Template, select Set Value Directly:

projectswitch behavior.pngScreenshot 2023-11-08 at 2.07.21 PM.png

This should then give you the option to define the value needed. 

The first box will contain the Project File Name as directly copied from the Project Details. The second box can contain any name you would like to be displayed on the hardware panel.

Screenshot 2023-11-08 at 2.08.03 PM.png

 

You should end up with a button like this:

projectswitch button.pngScreenshot 2023-11-08 at 2.25.37 PM.png

KeepPlease inNote, mind that selecting such a button will changechanging the current project and might evenwill disconnect the current controllercontrollers if itthey isare not configured in the otherproject project.that is being switched to. 

Make sure to configure the projects your switching to sobe thatswitched youbetween canin switcheach back.

project.