Skip to main content
replaced http://blender.stackexchange.com/ with https://blender.stackexchange.com/
Source Link

I am trying to run a script that prompts the user for a desired directory and file name for export. Ideally, this script would be run from the File -> Export menu and pop up a file browser window similar to how the included export scripts function.

The only way I've found to call Blender's file browser is via a file path property for a UI panel (i.e. How to add a "select path" input in a UI addon script?How to add a "select path" input in a UI addon script?). Is what I'm trying for possible?

I am trying to run a script that prompts the user for a desired directory and file name for export. Ideally, this script would be run from the File -> Export menu and pop up a file browser window similar to how the included export scripts function.

The only way I've found to call Blender's file browser is via a file path property for a UI panel (i.e. How to add a "select path" input in a UI addon script?). Is what I'm trying for possible?

I am trying to run a script that prompts the user for a desired directory and file name for export. Ideally, this script would be run from the File -> Export menu and pop up a file browser window similar to how the included export scripts function.

The only way I've found to call Blender's file browser is via a file path property for a UI panel (i.e. How to add a "select path" input in a UI addon script?). Is what I'm trying for possible?

added 4 characters in body
Source Link
CodeManX
  • 29.7k
  • 3
  • 92
  • 131

I am trying to run a script that prompts the user for a desired directory and file name for export. Ideally, this script would be run from the File->ExportFile -> Export menu and pop up a file browser window similar to how the included export scripts function.

The only way I've found to call Blender's file browser is via a file path property for a UI panel (i.e. How to add a "select path" input in a UI addon script?). Is what I'm trying for possible?

I am trying to run a script that prompts the user for a desired directory and file name for export. Ideally, this script would be run from the File->Export menu and pop up a file browser window similar to how the included export scripts function.

The only way I've found to call Blender's file browser is via a file path property for a UI panel (i.e. How to add a "select path" input in a UI addon script?). Is what I'm trying for possible?

I am trying to run a script that prompts the user for a desired directory and file name for export. Ideally, this script would be run from the File -> Export menu and pop up a file browser window similar to how the included export scripts function.

The only way I've found to call Blender's file browser is via a file path property for a UI panel (i.e. How to add a "select path" input in a UI addon script?). Is what I'm trying for possible?

Tweeted twitter.com/#!/StackBlender/status/423986020867379200
Source Link

Use Blender's file browser via python, without a UI panel

I am trying to run a script that prompts the user for a desired directory and file name for export. Ideally, this script would be run from the File->Export menu and pop up a file browser window similar to how the included export scripts function.

The only way I've found to call Blender's file browser is via a file path property for a UI panel (i.e. How to add a "select path" input in a UI addon script?). Is what I'm trying for possible?