AnsweredAssumed Answered

Is there a better method to deal with makeindependent part with reference drawing in top assembly without ?

Question asked by Jack Kong on Feb 17, 2020
Latest reply on Jan 31, 2021 by Mauricio Rafael

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 :

  1. First:use Makeindependent Command save as Part (User can select the new patn and set new Part Name )
  2. Second:Find whether the same name Drawing file is exist in the Part's original Path 
  3. 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

Dangling demension Display demension relations

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!

Best Wishes!

Outcomes