# \[PYTHON SCRIPTING\] Access blueprint actors's child static meshes and update them

**URL:** <https://forums.unrealengine.com/t/python-scripting-access-blueprint-actorss-child-static-meshes-and-update-them/784791>\
**Category:** Editor Scripting\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [March 6, 2023, 11:24am UTC](https://forums.unrealengine.com/t/python-scripting-access-blueprint-actorss-child-static-meshes-and-update-them/784791 "2023-03-06T11:24:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aicyp999](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aicyp999](https://forums.unrealengine.com/u/aicyp999)\
**Post date:** [March 6, 2023, 11:24am UTC](https://forums.unrealengine.com/t/python-scripting-access-blueprint-actorss-child-static-meshes-and-update-them/784791/1 "2023-03-06T11:24:50Z")

</div>

I am currently trying to automate different redundant actions i have to do with unreal with the python api. And i am having some difficulties on accessing the static meshes components that are inside my loaded blueprints through python… Has someone ever managed to achieve this ? Because I can’t find any function in the BlueprintEditorLibrary nor in the Blueprint class that allows me to access the child components of my loaded blueprint ☹

---

<div class="post-metadata">

**Author:** ![sprunghunt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sprunghunt](https://forums.unrealengine.com/u/sprunghunt)\
**Post date:** [March 8, 2023, 2:15am UTC](https://forums.unrealengine.com/t/python-scripting-access-blueprint-actorss-child-static-meshes-and-update-them/784791/2 "2023-03-08T02:15:28Z")

</div>

If they’re actor blueprints have you tried calling “get\_all\_child\_actors()” on the blueprint and then looking for meshes in the resulting list?

---

<div class="post-metadata">

**Author:** ![aicyp999](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aicyp999](https://forums.unrealengine.com/u/aicyp999)\
**Post date:** [March 8, 2023, 9:26am UTC](https://forums.unrealengine.com/t/python-scripting-access-blueprint-actorss-child-static-meshes-and-update-them/784791/3 "2023-03-08T09:26:38Z")

</div>

> [@sprunghunt](#):
>
> get\_all\_child\_actors()

thx for the answeer !! however i tried using it and i get an error :

> `AttributeError: 'Blueprint' object has no attribute 'get_all_child_actors'`

and I am calling this function after loading the asset and calling `unreal.BlueprintEditorLibrary.get_blueprint_asset(actor)`
