Hello,Everyone,Nice to Meet you here.
I am writing a macro for the special opreation that it can save Drawing file(slddrw) too when executing make-independent command in the assembly.
my method below to :
- First:use Makeindependent Command save as Part (User can select the new patn and set new Part Name )
- Second:Find whether the same name Drawing file is exist in the Part's original Path
- Third:if Drawing exist ,copy it to new path with new Name,and then use api to execute replace the Drawing View model .
As said above , the macro can execute successful. User can achieve a new part and referenced Drawing file.
But there is a problem that you can always find demension is dangling (displayed )when open the Drawing.
however,I discovered it's not really dangling! Refer to picture, Demension's Display relations Property windows
I can dispose dangling demension manaul by moving it position a little
Is there a better method to deal with makeindependent part with reference drawing in top assembly without ?
And this is my macro As attachment .
Looking forward to your help! Thanks a lot!