Community
FBX Forum
Welcome to Autodesk’s FBX Forums. Share your knowledge, ask questions, and explore popular FBX topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Canceling FBX Import

1 REPLY 1
Reply
Message 1 of 2
Anonymous
253 Views, 1 Reply

Canceling FBX Import

Hi all,

I'm using something like this to import fbx files:

KFbxImporter* lImporter = KFbxImporter::Create(pSdkManager,"");

...

lStatus = lImporter->Import(pScene);

So far so good! If we're loading large FBX files, I would like to give the user the oppotunity to cancel the loading process. I could image to use FBX SDK async loading function to do it like this:

lImporter->Import(pScene, true);
while( lImporter->IsImporting(lStatus) )
{
Sleep(x);

if( abort_was_clicked )
{
lImporter->CALL_CANCEL_FUNCTION();
}
}

The problem is, as far as I can see, there is nothing like a CALL_CANCEL_FUNCTION() to cancel the asynchronous loading inside the importer. Do I miss something? Ideas?

Thanks & Best regards,
Mika
1 REPLY 1
Message 2 of 2
jiayang.xu
in reply to: Anonymous

Hello Mika,
We added such functionality in the coming release, please wait for our next release 2012, thanks.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report