07-21-2020
12:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
07-21-2020
12:17 PM
Next For Each Item In InvDoc.BorderDefinitions If Item.IsReferenced = False Then Item.DeleteThis means that if the item is referenced by your original document (the one you intend to change) that it doesn't delete the information?
yes. but this code is there to prevent error messages, because you can not delete referenced blocks.
If I set this to True would it delete the information/border/titleblock that the original document is using?
no, most likely it will just cause errors. besides, even if it would delete them, it would not delete the non-referenced stuff.
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).
then delete or comment out the last for-next loop, as the remarks specifically warns you what is going to happen if you do that... did you not read them?