Scott Stanelle Posted February 11, 2022 Share Posted February 11, 2022 (edited) Hi, I have a python script the uses the vs.SetHDef() procedure to replace a referenced symbol's definition with a new definition. This works perfectly. All the symbols using the old symbol definition are now referencing the new symbol definition. The only minor annoyance is that if I attempt to delete the old, unused, symbol definition from the resources folder, Vectorworks still thinks the symbol definition is referenced and asks me if I want to delete the symbol definition completely. Since I know for sure that it is not referenced, I go ahead and delete it. But I was wondering if there is some other python script procedure that I need to call to perhaps clean up old defunct references to the old symbol definition? Interestingly, if I manually replace the symbol without invoking the script, I do not get the dialog prompt asking if I want to delete completely. Thanks, Scott Edited February 11, 2022 by Scott Stanelle Quote Link to comment
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.