I trying to write VB Addin were a user select component(s) in an assembly
then it will set the description to the name of the SW File
then get a PN for it and Rename the File with the new part
I have most of it done.
I rename the part with
SwDMApplication.MoveDocument ( fromName, toName, fromChildren, toChildren, option, pSrcOption)
but if someone else has referenced the part the will now have to go and find it
why dose the Reference not get fix in other assembly
also to rename I have to ether close the main assembly or set the to part/Assembly to lightweight
then check to make sure no-one else has them opened
is there a better way to rename a file with SW API where I wont loss any Reference
SolidworksApi macros