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.
Advertisement