Nebeor 0 Posted July 27, 2018 I made an extension tool that derives from VWExtensionTool like in the provided SDK samples. How can i add preferences AKA object properties or parametric record to this, so that i can edit those as settings for the tool, like in this little screenshot? I was expecting a solution similar to VWExtensionParametric for VWExtensionTool but i didn't found a way to include the parameter definition array, Thanks beforehand for your advice. Quote Share this post Link to post
JBenghiat 354 Posted September 12, 2018 Is this an insertion tool for an object, or just a tool? If the former, you can just link the tool to the object with the /*ParametricName*/ value in the tool definition. If it's a standalone tool, decide if the preferences will be application or document specific. If application, use Get/SetSavedSetting() to store values. If per document, you need to create a hidden record format and store values to the record attached to nil. (That will store to the record definition in the document header). Either way, you will have to write your own dialog for user interaction. 1 Quote Share this post Link to post