Sam Jones Posted March 4, 2018 Share Posted March 4, 2018 What preference do I need to set to turn off the preference OIP that appears when the first object of a kind is created? Quote Link to comment
JBenghiat Posted March 4, 2018 Share Posted March 4, 2018 If the user is placing the object via the tool, I don't think that's something you can turn off. If placing by a script, it's an option in CreateCustomObjectN. You can also force the default record to create form another script with DefineCustomObj(), which has an option to silently create the record. Quote Link to comment
Pat Stanford Posted March 5, 2018 Share Posted March 5, 2018 I agree with Josh, if the user uses a tool that has not been used before, there is no way to not show the dialog box. Might be a good wish. The work around is to make sure to use a template that has had all the important tools used so the defaults are already set. Quote Link to comment
Vectorworks, Inc Employee klinzey Posted March 5, 2018 Vectorworks, Inc Employee Share Posted March 5, 2018 You can use: FUNCTION DefineCustomObj( pluginName :STRING; prefWhen :INTEGER) : HANDLE; The parameter prefWhen can be one of: kCustomObjectPrefNever = 0 kCustomObjectPrefAlways = 1 kCustomObjectPrefNew = 2 http://developer.vectorworks.net/index.php/VS:DefineCustomObj Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.