Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
eric.frissell26WKQ
in reply to: bshbsh

hey @bshbsh, you replied to my macro help the other day with this link.  Had a question for you about this code

 

Next
    For Each Item In InvDoc.BorderDefinitions
        If Item.IsReferenced = False Then Item.Delete

This means that if the item is referenced by your original document (the one you intend to change) that it doesn't delete the information?  If I set this to True would it delete the information/border/titleblock that the original document is using?

 

My way forward is going to be deleting the instance and copying in new ones and activating them.

 

Secondly when I run this script it's somehow copying one titleblock 6 times and calls it copy of (titleblock name) then copy of copy of (titleblock name).

 

Thanks for the help