10-26-2016, 09:03 PM
There is already a variant of the hdi::core::Tool constructor that takes arguments for the tool numbers for the group/set in which the new tool should be placed. Your first plugin to load should create a Tool object via whichever constructor you prefer, and then subsequent plugins to load will need to acquire the tool number from the first plugin. They can then call the aforementioned Tool constructor, passing the tool number(s).