Activescene doesn't have a path property, only filename and you'll need to
use filename.value.
Btw, ActiveProject does have a path property.

M.Yara

On 2012/07/28, at 4:53, Stefan Andersson <[email protected]> wrote:

Not having softimage in front of me, I think this would work (in python)

print Application.ActiveProject.ActiveScene.Path

regards
stefan andersson



On Jul 27, 2012, at 12:16 PM, Gareth Bell wrote:

  Morning all,



Potentially having a brain-fart here.



How does Softimage know where the current scene is located? i.e. when I hit
Save As the file browser opens in the directory in which the active scene
is located.

I want to be able to find, using a script, the exact location of the
current scene like you can with the filebrowser's .FilePath command (but
without bringing up a dialog)



Any clues welcomed



cheers



gareth bell | xsi artist



t: +44 (0)20 7565 1000

e: [email protected]

a: 37, dean street, london, w1d 4pt, uk.



www.primefocusworld.com

Reply via email to