Author Topic: Allowed characters in symbol library component names  (Read 1500 times)

0 Members and 1 Guest are viewing this topic.

Offline howshawTopic starter

  • Newbie
  • Posts: 1
  • Country: gb
Allowed characters in symbol library component names
« on: February 02, 2017, 10:07:07 am »
I am using Altium designer 17.0.7 and have discovered that if the component name of an item in a SCH Library has a vertical bar character "|" in it then Altium acts strangely when trying to place the compopnent on a schematic.  Everything seems to work but the error dialog message:

Component with Design ID '1|<name of library file>|<name of component>'

appears.  My guess is that the "|" is used as a separator inside Altium strings.  Are there any other characters best avoided?
 

Offline Philfreeze

  • Regular Contributor
  • *
  • Posts: 123
  • Country: ch
Re: Allowed characters in symbol library component names
« Reply #1 on: February 02, 2017, 12:14:30 pm »
That is correct. Altiums uses Compound Document Files like MS Office does. Inside this structures there is a thing called FileHeader and inside that Altium stores all most of its stuff in a text format.
The format looks like this: |value=N|
As you can see, they use | as seperators and the only other symbols they use that I am aware of are = and . (a dot which they use for things like LOCATION.Y=10).
You could try these two Symbols and see if they work but I think they will work just fine.

P.S:
Here is an article about the file format where you can see it: https://hackaday.io/post/10390
I also tried to reverse engineer the whole thing once (PCBLib files, not schematics) but I wasn't able to do it completely because there are some binary values in there which I just couldn't figure out what they do)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf