SBPresentation#
- class samson.SBPresentation(*args, **kwargs)#
Bases:
SBNode
This class describes a presentation.
Overloaded function.
__init__(self: samson.SBPresentation) -> None
Constructs a presentation.
__init__(self: samson.SBPresentation, arg0: str) -> None
Constructs a presentation with the given name.
- Parameters:
name (str) – A name of the presentation.
Examples
Add a presentation to the active document and make this operation undoable.
>>> presentation = SBPresentation('New presentation') >>> SAMSON.beginHolding('Add presentation') >>> SAMSON.hold(presentation) >>> presentation.create() >>> SAMSON.getActiveDocument().addChild(presentation) True >>> SAMSON.endHolding()
- getNextPresentation(self: samson.SBPresentation) samson.SBPresentation #
Returns the next presentation.
- getPreviousPresentation(self: samson.SBPresentation) samson.SBPresentation #
Returns the previous presentation.
- initialize(self: samson.SBPresentation) bool #
Initializes the presentation.
Notes
This is a virtual function that might be overridden in classes based on SBPresentation.
- property beginFrame#
The presentation’s begin frame.
- property currentFrame#
The presentation’s current frame.
- property endFrame#
The presentation’s end frame.