Announcement

Collapse
No announcement yet.

Swapping TBLKS - How to Mask by wildcards in Sheet Number

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Swapping TBLKS - How to Mask by wildcards in Sheet Number

    I have a time-sensitive task - to search through a 500+ sheet file and swap titleblocks based on a factor in the Sheet Number.
    I've checked out Paul Wintour's 2017 script: https://parametricmonkey.com/2016/01...-family-types/ which got me to where I am now, which is a roadblock on the Boolmask:

    Is there an updated method that I'm unaware of?

    If I continue on this current method, can wildcards be used for a boolmask? Perhaps my syntax is the issue...

    DYN_Swap TBLK by SheetNo Key.jpg

    #2
    Seem to have gotten one step further - no errors on the string for the Boolmask, however the output is still the full list, so the mask isn't working (yet)...
    DYN_Swap TBLK by SheetNo Key v2.jpg

    Comment


      #3
      Do you want to swap out your String.StartsWith with a String.Contains?

      Comment


        #4
        Originally posted by aperte View Post
        Seem to have gotten one step further - no errors on the string for the Boolmask, however the output is still the full list, so the mask isn't working (yet)...
        [ATTACH=CONFIG]40200[/ATTACH]
        Am I missing why you need the Keys at all? I would get Sheet Numbers and do a String Contains -H-, then the Filter by book mask from that. Should work without the Sort by Keys, unless that's doing something else.

        Sent from my Pixel 3 XL using Tapatalk
        Aaron "selfish AND petulant" Maller |P A R A L L A X T E A M | Practice Technology Implementation
        @Web | @Twitter | @LinkedIn | @Email

        Comment


          #5
          Thanks Kraftwerk and Twiceroadsfool - both good tips. I'm going to try without the KEYS section, and see how that goes! thanks!

          Comment


            #6
            I was on my phone, when i wrote the last comment. Here is the crude version:
            Attached Files
            Aaron "selfish AND petulant" Maller |P A R A L L A X T E A M | Practice Technology Implementation
            @Web | @Twitter | @LinkedIn | @Email

            Comment


              #7
              Also in that Code Block, you want to remove the * from the search.

              Comment

              Related Topics

              Collapse

              Working...
              X