• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ERROR: 12290 when using fumeFx01.setPath()
#1
$FumeFX01.SetPath ("D:/fumeTemp/test/" + ($FumeFx01.name) + ".fxd") "_.fxd"

am I doing it right? it does show the path in the ffx UI, but when i want to open it, it shows this error message.
  Reply
#2
and why is it allways telling me that the folder is read only, altough it is not?
  Reply
#3
Not sure, I don't know if your syntax is correct though:

Quote:SetPath outputFile

This sets output file name. You must enter the path and base file name; the extension is not necessary.

$FumeFX01.SetPath "F:/temp/FumeFX/aa

$FumeFX01.SetPath "F:/temp/FumeFX/aa.fxd"
blower of smoke ..ooOO
  Reply
#4
$FumeFX01.SetPath ("C:/Temp/" ) "aa.fxd" == Works..

1 think that might be a bug is that when you assign the output Path By script like this , you cannot Click and Borwse your path through the UI Browser Anymore..
<!-- w --><a class="postlink" href="http://www.cgfluids.com">http://www.cgfluids.com</a><!-- w -->
  Reply
#5
well yea, I have read the manual too, but if i write this:

$FumeFx01.setPath "D:/fumeTemp/test/aa"

i get the message:

-- Argument count error: SetPath wanted 2, got 1

no matter if there are back or forward slashes.

if i write:

$FumeFx01.setPath "D:/fumeTemp/test/aa" "bb"

in the UI of FumeFx01 is now the path "D:/fumeTemp/test/aa",but when i click on the button, i get the error message.

if i write the same with backslashes, i get the message, that the folder is read only :?

Rif---
all right...if it is a bug, then I'll try to work on with it.
maybe it will not be a problem...i hope Wink
  Reply
#6
LOL Big Grin sorry, I should have known better (that you already read the manual)

I too am curious how this is this works I was writing a Simulate and Render script and I had to omit all of the path setups, I couldn't get it to work either, I didn't invest much time in trying to find a solution.

I The only reason I mentioned it was your original function seemed to have a redundancy with the last "_.fxd" since you were already setting the extension from with the path in parenthesis.

Does what Rif mentioned not function from within your script?
blower of smoke ..ooOO
  Reply
#7
hmm it's not a problem for me that it is giving me an error message if i can still set the path by script.

but i'm tryin to do it dynamically in a tool by saving it in the same folder as the scene is saved.
but this gives me backslashes, and with backslashes i get this annoying message that the folder is read only Sad
don't know how to get dir of that...
  Reply
#8
Do the folders already exist? Or are you trying to create them with the script? You may have to create the folders prior to setting the path.
blower of smoke ..ooOO
  Reply
#9
:lol: ahh...i see. Indeed i'm trying to ceate them with the script.

do you know how to create folders by script? :oops:
Edit________

I got it Big Grin "makeDir" will do it
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)