Alias API Updates
In Alias 2026 we've made several updates to the Alias API, including new classes and new methods.
New classes
Added the following new classes:
Updated classes
AlEditor class
Added the following methods to the AlEditor class:
- AlEditor::setTitle(); - Lets you change the title (or label) of a widget.
- AlEditor::setPopupItems(); - Lets you change the items shown by an existing popup widget.
- AlEditor::addMultilineString(); - Adds a text field to show or input of multiple lines of text.
- AlEditor::addGoButton(); - Adds a Go button in the bottom of the editor.
- AlEditor::addCancelButton(); - Adds a Cancel button in the bottom of the editor.
- AlEditor::addNextButton(); - Adds a Next button in the bottom of the editor.
- AlEditor::addResetButton(); - Adds a Reset button in the bottom of the editor.
- AlEditor::addDoubleSlider(); - Adds a double input and slider widget to the editor.
- AlEditor::setImage( const char* symbolName, const char* fileName); - Changes an existing image widget to show the image from given file.
- AlEditor::setImage( const char* symbolName, int imgWidth, int imgHeight, const unsigned char* image); - Changes an existing image widget to show the given image data.
- AlEditor::setGroupExpanded(); - Expands or collapses an existing group.
- AlEditor::setTitle(); - Changes the title (or label) of a widget.
- AlEditor::setPopupItems(); - Changes the items of an existing popup widget.
For more information, see AlEditor.
AlDagNode
Added the following new methods:
- AlDagNode::hasToolMetaData();
- AlToolMetaData::getToolMetaData(); - Gets the metadata associated with a DAG node.
- AlToolMetaData::createToolMetaData(); - Creates AlToolMetaData and associates it with the dag node.
For more information, see AlEditor.
AlObject
Added the following new methods:
- AlObject::asSubdivPtr() - Returns a non-null pointer to an AlSubdiv if it is safe to downcast the AlObject to it.
- AlObject::asToolMetaDataPtr() - Returns a non-null pointer to an AlToolMetaData if it is safe to downcast the AlObject to it.
For more information, see AlObject.
AlSurface class
Updated the AlSurface::trim(); method.
For more information, see AlSurface.
AlCurveOnSurface
Added new create( const AlCurve); method, which creates a Curve On Surface from an AlCurve();.
For more information, see AlCurveOnSurface.
AlFunctionHandle
Added AlFunctionHandle::setToolTitle(); method, which sets the string which will appear in the GUI as the tool title.
For more information, see AlFunctionHandle.
AlUniverse
The AlUniverse::retrieveOptions(); method has been updated to fix a regression with memory allocation. Any plugins using this method will need to be recompiled.