Download

Dataprep Layer Management

How do I make Dataprep levels remain off by default at runtime/render time.

I am using Dataprep(Not Datasmith) to manage and import my models. When you import your model, Dataprep will create a new layer/level. The problem I am having is that Dataprep levels turn on by default at runtime or when rendering.

This means that anytime I add a Dataprep level, I need to then go into all of my movie sequences and add that level to a hidden visibility switch. This can become a lot of work when your model becomes extensive with dozens of layers and sequence. If I could tell Dataprep to keep the layer off by default, this would help me immensely.

Thanks guys and gals.

Hello Pat,
at the moment you cannot access the layer objects in dataprep.

The only thing you can do is make a blueprint or python script to change visibility of layers / or modify your animation sequences after your dataprep has been executed.

import unreal

layerSubSystem = unreal.get_editor_subsystem(unreal.LayersSubsystem)
layerNames = layerSubSystem.add_all_layer_names_to()
layerSubSystem.set_layers_visibility(layerNames,False)

Solution:

All you need to do is right click on your level and change the the level streaming to Blueprint instead of Always Loaded.

Stupid simple…just hadn’t stumbled on that. Hopefully this helps someone somewhere.