# How do I get the Datasmith Runtime loading completed

**URL:** <https://forums.unrealengine.com/t/how-do-i-get-the-datasmith-runtime-loading-completed/772717>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [February 17, 2023, 7:25am UTC](https://forums.unrealengine.com/t/how-do-i-get-the-datasmith-runtime-loading-completed/772717 "2023-02-17T07:25:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![loveulb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loveulb/32/607076_2.png) [@loveulb](https://forums.unrealengine.com/u/loveulb)\
**Post date:** [February 17, 2023, 7:25am UTC](https://forums.unrealengine.com/t/how-do-i-get-the-datasmith-runtime-loading-completed/772717/1 "2023-02-17T07:25:14Z")

</div>

I want to load the data smith model at runtime, and after the loading is completed,Automatically replace its model with objects in the scene.  
I need to control the loading of datasmith and execute other instructions after all the models are loaded, but there is no corresponding instruction for me to wait for it to finish.  
Although the delay function can be used to wait, the loading time is different when the loading model is different.

---

<div class="post-metadata">

**Author:** ![UE\_FlavienP](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ue_flavienp/32/1194546_2.png) [@UE\_FlavienP](https://forums.unrealengine.com/u/UE_FlavienP)\
**Post date:** [February 17, 2023, 11:05am UTC](https://forums.unrealengine.com/t/how-do-i-get-the-datasmith-runtime-loading-completed/772717/2 "2023-02-17T11:05:46Z")

</div>

At the moment you need to look at the “building” boolean and the “isReceiving” function like shown here [Is it possible, with Datasmith runtime, to wait for import to finish before running the rest of code?](https://forums.unrealengine.com/t/is-it-possible-with-datasmith-runtime-to-wait-for-import-to-finish-before-running-the-rest-of-code/629301)  
There should be an event added at some point.

---

<div class="post-metadata">

**Author:** ![loveulb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loveulb/32/607076_2.png) [@loveulb](https://forums.unrealengine.com/u/loveulb)\
**Post date:** [February 18, 2023, 9:07am UTC](https://forums.unrealengine.com/t/how-do-i-get-the-datasmith-runtime-loading-completed/772717/3 "2023-02-18T09:07:11Z")

</div>

Thank you for your reply.  
What I expect is an operation like playing animation, which has a function to execute the event after playing.  
However, it is a good way to solve the problem. Thank you for your help.
