UML Diagram anywhere?

RichMacDonald wrote on 11/13/2003, 2:46 PM
I felt it was time to take a look at the scripting API and I have some questions:

1) Is there a UML diagram available?

2) The typing API is underspecified. For example, the Tracks object is a collection of Track objects, yet the Track.add(Object item) is parameter type Object, not Track. Now I know why (I'm a programmer and this is known as "crappy static typing languages":-), but the question is: "Does Vegas perform a runtime type check on the argument?" or "What happens if I write: 'Tracks.add(Banana aBanana)' in my script :-?"

3) And so forth. I'm just nosing around at the moment, but this was the initial 60 second question.

Comments

SonyPJM wrote on 11/13/2003, 2:56 PM
There is no UML diagram.

An exception will be thrown if you try to add something other than a Track object to a Tracks collection... same is true of the other collections in the API. MediaBin is a sort of exception in that it contains both Media objects and other MediaBins.