[1.1.68] New blueprints clear filters on set_blueprint_X()
Posted: Fri Aug 26, 2022 5:09 am
While making a new blueprint, with the blueprint GUI up with a blueprint containing tiles, enable the tiles filter on the left. Then use (seemingly) any of the set_blueprint_X(...) functions and it will reset all the filter checkboxes on the left.
This is my basic blueprint: I then run the console command and this is the result:
I haven't found a way to keep that filter on, nor can I find any API that allows me to turn it on after its been turned off. It should remain turned on. The same happens with `get/set _blueprint_tiles()`. If entities are filtered off, they get turned on. Train stop names and tiles get turned off.
This is my basic blueprint: I then run the console command
Code: Select all
/c game.player.blueprint_to_setup.set_blueprint_entities(game.player.blueprint_to_setup.get_blueprint_entities())