loadingfinished fires for every loaded file and not the full job

loadingfinished fires for every loaded file and not the full job

Totila_
Enthusiast Enthusiast
306 Views
2 Replies
Message 1 of 3

loadingfinished fires for every loaded file and not the full job

Totila_
Enthusiast
Enthusiast

Hi,

 

I am using  

vrFileIOService.importFiles

 to import a number of files into my scene.

 

I am searching for a way to know when the current import job for all files has ended (i.e. only when the last file has been imported.

Using 

vrFileIOService.fileLoadingFinished

 fires a finished event after every file of that job and NOT after the whole job has finished.

 

Is there a way/workaround to accomplish a finish event once a full import job has finished?

 

Best

T

0 Likes
307 Views
2 Replies
Replies (2)
Message 2 of 3

__daniel.lincoln__
Autodesk
Autodesk

Hello,

 

There is a Signal called vrFileIOService.importFinished that can be used for that.

-Dan

0 Likes
Message 3 of 3

karsten.frey
Explorer
Explorer

Good stuff. That works as expected.

 

Thank you!