Detach elements from an existing Mark-Up.
GSErrCode ACAPI_MarkUp_DetachElements ( const API_Guid& markUpGuid, const GS::Array<API_Guid>& elemList );
- [in] GUID of the existing Mark-Up.
- [in] The list of elements to detach.
- The function has completed with success.
- The function must be undoable, it wasn’t called from an undoable command scope.
- The passed
markUpGuidparameter or at least one of the given element GUIDs was incorrect.
For other common API errors see the API Errors document.
Using this function (corrected or highlighted) elements can be detached from an existing Mark-Up entry.
Use ACAPI_MarkUp_GetAttachedElements function to return the already attached elements of the Mark-Up entry and ACAPI_MarkUp_AttachElements function to attach elements.
Mark-Up related code samples can be found in the MarkUp_Manager example add-on.
- Version: API 21 or later
- Header: ACAPinc.h