sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Component Names in Custom Libraries

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    4 Posts 3 Posters 170 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      pipingguy
      last edited by

      Why are some keyboard characters such as "&" and "+" replaced by an underscore when saving a new component to subject location? Can someone provide a list of other disallowed characters?

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        There is also the # swap, and also any of the 'forbidden characters' in filename, like |/:<>?*" and <space> at the start/end and also probably % ?

        TIG

        1 Reply Last reply Reply Quote 0
        • Dave RD Offline
          Dave R
          last edited by

          I expect they are forbidden because they are the file name of the resulting SKP file. I suppose you could lookup forbidden characters in file names and you'd have your list.

          Etaoin Shrdlu

          %

          (THERE'S NO PLACE LIKE)

          G28 X0.0 Y0.0 Z0.0

          M30

          %

          1 Reply Last reply Reply Quote 0
          • P Offline
            pipingguy
            last edited by

            So I just tried this:

            Component name given to library:
            ~!@#$%^&*()_+-=/*{}[]|\:";'<>?,/

            Component name accepted by library:
            ~!@_$%_()-___{}_______'_____

            Therefore, these were converted to underscores:
            ^&_+=/[]|:";<>?,/

            Tried saving a skp file as:
            ~!@#$%^&*()_+-=/*{}[]|\:";'<>?,/

            Result:
            "invalid file name"

            Tried saving a skp file as:
            ~!@_$%_()-___{}_______'_____

            Result:
            ~!@_$%_()-___{}_______'_____

            Conclusion:
            I am bummed-out about losing & and/or + in my component names. Oh well.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement