Pre Import callback for conditional import


#1

I’d like to run a preimport script and test a condition to determine whether or not to proceed with the import. Is this possible at all?

So the user would:

  • Go to import a file
  • PreImport callback kicks in, checks which filetype is being imported, then cancels the import if it’s a certain filetype.

The preImport callback doens’t seem to provide any information on the file about to be imported so I guess it’s impossible unless there’s some DotNet way around it?


#2

disablesceneredraw
hold
import
check condition ? fetch
enablesceneredraw