Message 1 of 5

Not applicable
08-02-2019
12:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there. Basically i'm trying to find the papersize of my drawing by looking through the xrefs+blocks.
; Loop through drawing's xrefs and blocks (until i get a match) ; ; If match *-A0-* then setq ps "A0" ; ElseIf *-B1-* then setq ps "B1" ; ElseIf *-A1-* then setq ps "A1" ; ElseIf *-A2-* then setq ps "A2" ; ElseIf *-A3-* then setq ps "A3" ; end if
Excuse the mixture of VBA logic - it's kind of what I'm use to and makes more sense to me.
I actually did have a code that achieved this, but it involved lists which ended up creating way more problems down the track than it solved 😕
Solved! Go to Solution.