Jump to: Board index » General » Fusion

bmd.scriptlib

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline

Stefan Kirste

  • Posts: 142
  • Joined: Wed Jul 30, 2014 8:45 am

bmd.scriptlib

PostMon Jun 27, 2016 1:59 pm

Hey,

while switching to Fu8, i need to update all my scripts.
I have problems, using the builtin function in the bmd.scriptlib

bevor:

var = eyeon.parseFilename(xyz)

works
after:

var = bmd.parseFilename(xyz)

didnt work: error: "Attempt to call field 'parseFilename' (a nil value)

i added a new function to the scriptlib, this only print "test" .
when i put "bmd.test()" in the console, it works, but in my lua script i got the error as above.
Any suggestions?
Offline
User avatar

michael vorberg

  • Posts: 943
  • Joined: Wed Nov 12, 2014 8:47 pm
  • Location: stuttgart, germany

Re: bmd.scriptlib

PostMon Jun 27, 2016 9:50 pm

i cant replicate this

if i run (as a script):
Code: Select all
filename = "E:\\projekte\\MechTrailer\\Ref\\fafnir1.jpg"

print (bmd.parseFilename(filename).Name)


i got no error and the expected result
Offline
User avatar

Peter Loveday

Blackmagic Design

  • Posts: 24
  • Joined: Tue Sep 30, 2014 6:23 am

Re: bmd.scriptlib

PostMon Jun 27, 2016 11:55 pm

Are you using 8.1.1?
Love, Light and Peace,
- Peter Loveday
Offline

Stefan Kirste

  • Posts: 142
  • Joined: Wed Jul 30, 2014 8:45 am

Re: bmd.scriptlib

PostTue Jun 28, 2016 8:21 am

well, this is fixed! Thanks.
Offline

Stefan Kirste

  • Posts: 142
  • Joined: Wed Jul 30, 2014 8:45 am

Re: bmd.scriptlib

PostTue Jun 28, 2016 11:35 am

BUT!
by using the function "bmd.SV_GetFrames(sv)" i get an error on line 409 .

... = sv.Clip[TIME_UNDEFINED]

error: Unsupported key type!

same error by using TIME_UNDEFINED in a custom script, BUT it works in the console .

Return to Fusion

Who is online

Users browsing this forum: Mixolydian and 54 guests