# How to automatically create multiple CineCameraActors by executing external python scripts in UE5

**URL:** <https://forums.unrealengine.com/t/how-to-automatically-create-multiple-cinecameraactors-by-executing-external-python-scripts-in-ue5/869242>\
**Category:** Programming & Scripting\
**Tags:** Python, unreal-engine, question, Blueprint\
**Created:** [April 7, 2023, 6:12am UTC](https://forums.unrealengine.com/t/how-to-automatically-create-multiple-cinecameraactors-by-executing-external-python-scripts-in-ue5/869242 "2023-04-07T06:12:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [April 7, 2023, 8:07am UTC](https://forums.unrealengine.com/t/how-to-automatically-create-multiple-cinecameraactors-by-executing-external-python-scripts-in-ue5/869242/2 "2023-04-07T08:07:18Z")

</div>

Hey there @FunnyCharly! I don’t work with the Python API too often myself, so here’s some resources on showing how to spawn actors in the scene, as well as adjust variables on those actors.

**Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.**

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/d/f/9df8a9a03409f94a746d6615b72da6039e56e8ef.jpeg "UE 4.21 - How To Spawn Actors In World With Python") ](https://www.youtube.com/watch?v=UGnbx7iNMBQ)

> [@Can you edit a Blueprint Variable from Python?](https://forums.unrealengine.com/t/can-you-edit-a-blueprint-variable-from-python/123147/3):
>
> You can, but you need to set them on the Class Default Object (CDO) of the Blueprint Generated Class (BPGC), rather than the Blueprint asset itself (which is just a definition of how to build the BPGC). This requires the Blueprint asset itself to be compiled and up-to-date: # get the generated class of the Blueprint (note the \_C) bp\_gc = unreal.load\_object(None, "/Game/MyBP.MyBP\_C") # get the Class Default Object (CDO) of the generated class bp\_cdo = unreal.get\_default\_object(bp\_gc) # set the …

> **[unreal.Actor — Unreal Python 4.27 (Experimental) documentation](https://dev.epicgames.com/documentation/en-us/unreal-engine/python-api/class/Actor?application_version=4.27)**

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-automatically-create-multiple-cinecameraactors-by-executing-external-python-scripts-in-ue5/869242)._
