- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi!
I have a block attribute that has a number range in it (example: 12-24) and another attribute with an identifier(example: A1). I need a script that will get that block attribute from all of a certain block and then make sure there are no overlapping numbers and if there are tell me a list of which identifiers have overlap.
For example if I have:
Identifier: A1 Range: 12-24
Identifier: B1 Range: 24-48
Identifier: C1 Range: 49-62
Identifier: D1 Range: 1-13
Identifier: E1 Range: 20-30
The script would ideally output something like: “B1 + C1”, “D1 + A1”, “E1 + A1 + B1”
Either a popup window or right in the command line area is fine. If no overlap found just output something like "All OK"
Here is a CAD file with this same example: https://drive.google.com/file/d/1L2fKoJDU96L03fvKjVPCqxl693ldDdPT/view?usp=sharing
Any help would be greatly appreciated, there are typically 100s of these per job and I have been checking them manually which takes me way too long. Thank you!
Solved! Go to Solution.