DocumentToolLibrary.operationsByTool Method
Parent Object:
DocumentToolLibraryDefined in namespace "adsk::cam" and the header file is <Cam/Tools/DocumentToolLibrary.h>
Description
Returns all operations that use the given tool. The tool must exist in the document tool library. Raises an error if the tool is not in the document.
Syntax
"documentToolLibrary_var" is a variable referencing a DocumentToolLibrary object.returnValue = documentToolLibrary_var.operationsByTool(tool)
|
"documentToolLibrary_var" is a variable referencing a DocumentToolLibrary object.
#include <Cam/Tools/DocumentToolLibrary.h>
returnValue = documentToolLibrary_var->operationsByTool(tool);
|
Return Value
Operation[] |
Returns operations using a specific tool. |
Parameters
tool |
Tool |
The tool to search for in operations. The tool must exist in the document. |
Version
Introduced in version April 2023