Component Names in Custom Libraries
-
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?
-
There is also the # swap, and also any of the 'forbidden characters' in filename, like |/:<>?*" and <space> at the start/end and also probably % ?
-
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.
-
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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement