Creates a new Favorites entry based on the given element.
GSErrCode ACAPI_Favorite_Create ( const API_Favorite& favorite );
- [in] The Favorite entry settings.
- The function has completed with success.
- Invalid name given.
- The new Favorites list entry could not be created.
- Invalid element given (invalid library part ID), or a marker was given with an element that is not an object.
- One of the specified classification items is not available for the given element.
For other common API errors see the API Errors document.
ExampleFor detailed example, please see the Favorite_Test example Add-On.
- Version: API 4.1 or later
- Header: ACAPinc.h