showing file name from ifl

I have assigned an ifl file which has some random file names to the viewport background.
is there a way to get corresponding file name at any frame?
Thanks.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
cuatcside's picture

this command works but when I

this command works but when I try to incorporate it in my code it's not working.
Do you mind take a quick look at my simple code and see what i am doing wrong?
Thanks.

rollout Background_Image_Name "Background Image Name"
(
label bgifn "0" pos:[30,5]

fn bgname =
(
try(

a = at time slidertime backgroundImageFileName
bgifn.text = a

)
catch ( )

)
)

cuatcside's picture

this command works but when I

this command works but when I try to incorporate it in my code it's not working.
Do you mind take a quick look at my simple code and see what i am doing wrong?
Thanks.

rollout Background_Image_Name "Background Image Name"
(
label bgifn "0" pos:[30,5]

fn bgname =
(
try(

a = at time slidertime backgroundImageFileName
bgifn.text = a

)
catch ( )

)
)

miauu's picture

.

Try this:

Open MaxScript Listener(F11). Enter this:

backgroundImageFileName

and press the numpad enter.

cuatcside's picture

this command works but when I

this command works but when I try to incorporate it in my code it's not working.
Do you mind take a quick look at my simple code and see what i am doing wrong?
Thanks.

rollout Background_Image_Name "Background Image Name"
(
label bgifn "0" pos:[30,5]

fn bgname =
(
try(

a = at time slidertime backgroundImageFileName
bgifn.text = a

)
catch ( )

)
)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.