Hi
Is there information available on what has been added to the api?
What's new with scripting
Moderators: Víctor Paredes, Belgarath, slowtiger
Mike has just posted the new version 8 scripting interface here:
Version 8 scripting interface
From what I can tell, these are the new additions in version 8:
layer:CountChannels() - Get number of channels in layer
layer:GetChannelInfo(id, channelInfo) - Get info about channel with id
layer:Channel(id, subID, doc) - Get channel with id
layer:CountActions() - Get number of actions in layer
layer:ActionName(id) - Get name of action with id
layer.fLayerOutline - Layer outline anim channel
layer.fOutlineWidth - Layer outline width anim channel
layer.fOutlineColor - Layer outline color anim channel
curve:GetControlPoints(segID, p1, p2, p3, p4, forDrawing=false) - Get control points of curve segment
shape:Name() - Get name of shape
shape:SetName() - Set name of shape
moho:FileNew() - Create new document
moho:FileOpen(path) - Open existing document
moho:FileSave() - Save current document
moho:FileSaveAs(path) - Save current document as
moho:FileImport(path) - Import file
moho:FileRender(path) - Render file
All I can say is, WOW
! I've wanted some of these for a very long time!
Version 8 scripting interface
From what I can tell, these are the new additions in version 8:
layer:CountChannels() - Get number of channels in layer
layer:GetChannelInfo(id, channelInfo) - Get info about channel with id
layer:Channel(id, subID, doc) - Get channel with id
layer:CountActions() - Get number of actions in layer
layer:ActionName(id) - Get name of action with id
layer.fLayerOutline - Layer outline anim channel
layer.fOutlineWidth - Layer outline width anim channel
layer.fOutlineColor - Layer outline color anim channel
curve:GetControlPoints(segID, p1, p2, p3, p4, forDrawing=false) - Get control points of curve segment
shape:Name() - Get name of shape
shape:SetName() - Set name of shape
moho:FileNew() - Create new document
moho:FileOpen(path) - Open existing document
moho:FileSave() - Save current document
moho:FileSaveAs(path) - Save current document as
moho:FileImport(path) - Import file
moho:FileRender(path) - Render file
All I can say is, WOW
