Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4171

Read export directory from options.defaultfiledialogdirectories

$
0
0

Hi everybody!

A simple question from a begginer :stuck_out_tongue:

Is it possible to compare the current documentPath with Rhino.Options.DefaultFileDialogDirectories.ExportDirectory in Rhino Python script?

I mean, if documentPath is not equal to Rhino.Options.DefaultFileDialogDirectories.ExportDirectory (parent path, it could be interesting to detect\ in order to extract a subpath to compare) then use documentPath to export files, else use the last used, stored in defaultFileDialogDirectories…

See: Original post
The goal is to optimize teh exporting path and avoid mistakes

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4171

Latest Images

Trending Articles



Latest Images