ToolDatabase: Difference between revisions
Jump to navigation
Jump to search
(Created page with "The ToolDatabase object gives access to the single Tool database within the program. Currently this object can only be used to select an existing tool from the database....") |
No edit summary |
||
Line 1: | Line 1: | ||
[[File:Back.jpg|right|50px|link=Toolpaths]] | |||
The ToolDatabase object gives access to the single Tool database within the program. Currently this object can only be used to select an existing tool from the database. | The ToolDatabase object gives access to the single Tool database within the program. Currently this object can only be used to select an existing tool from the database. | ||
Line 28: | Line 29: | ||
[[File:Back.jpg|right|50px|link=Toolpaths]] | [[File:Back.jpg|right|50px|link=Toolpaths]] | ||
==References== | ==References== | ||
'''Please Note:''' The base material for the contents found in this WiKi was sourced from Vectric Lua Interface for Gadgets, version 10.0, published August 21, 2019. by Vectric Ltd. Most current document from Vertric can be downloaded at [https://gadgets.vectric.com/developerinfo.html Vertric Developer Information] | '''Please Note:''' The base material for the contents found in this WiKi was sourced from Vectric Lua Interface for Gadgets, version 10.0, published August 21, 2019. by Vectric Ltd. Most current document from Vertric can be downloaded at [https://gadgets.vectric.com/developerinfo.html Vertric Developer Information] |
Revision as of 20:36, 3 August 2021
The ToolDatabase object gives access to the single Tool database within the program. Currently this object can only be used to select an existing tool from the database.
Constructor
ToolDatabase
Returns a new object which gives access to the single Tool database for the program. e.g
- local tooldb = ToolDatabase()
Methods
:SelectTool()
Displays the Tool Database dialog and allows the user to choose a tool which is returned from this method.
For Example:
local tool_database = ToolDatabase() local tool = tool_database:SelectTool()
:GetTool(ToolDBId tooldb_id)
Return the tool from the database with the given Id.
References
Please Note: The base material for the contents found in this WiKi was sourced from Vectric Lua Interface for Gadgets, version 10.0, published August 21, 2019. by Vectric Ltd. Most current document from Vertric can be downloaded at Vertric Developer Information