Werni2A / OpenOrCadParser

OpenOrCadParser - FOSS Parser for Cadence OrCAD designs.
MIT License
56 stars 13 forks source link

Is it possible to create a Symbol named `ERC`, `ERC_PHYSICAL` or `$Types$`? #38

Open Werni2A opened 2 years ago

Werni2A commented 2 years ago

OrCad automatically creates a few symbol files in the file container. I.e. it should not be possible to create symbols with that exact same names to avoid clashing names. It would be interesting to see how well OrCad handles this scenario when trying to create a symbol named ERC or ERC_PHYSICAL from within OrCad (same for $Types$). Probably it will just shown an error message or crash...

If anyone wants to test this, feel free to share your findings.

marekr commented 1 year ago

As in named ERC, ERC_PHYSICAL and $Type$?

It doesn't care, it let's it through. The symbols end up under /Packages though

Werni2A commented 1 year ago

The question was a bit misleading, since the naming in the file directory is kind of confusing. The items we typically call 'Symbol' are called 'Package' in the file container. Therefore it makes sense that the 'symbols' you created (assuming something like a resistor) end up in the Packages folder. My question was related to the Symbols folder, see Container Structure. I'm not sure though if it's possible to create items inside this folder by hand. Items in there are the graphical representation for off-page-connectors, power symbols and similar items. Rephrasing my original question - is it possible to create a custom off-page-connector 'symbol' and give it a name like the ones mentioned?

marekr commented 1 year ago

The question was a bit misleading, since the naming in the file directory is kind of confusing. The items we typically call 'Symbol' are called 'Package' in the file container. Therefore it makes sense that the 'symbols' you created (assuming something like a resistor) end up in the Packages folder. My question was related to the Symbols folder, see Container Structure. I'm not sure though if it's possible to create items inside this folder by hand. Items in there are the graphical representation for off-page-connectors, power symbols and similar items. Rephrasing my original question - is it possible to create a custom off-page-connector 'symbol' and give it a name like the ones mentioned?

It allows ERC but actually allows and immediately crashes on $Types$ image

Lol

Werni2A commented 1 year ago

Interesting, thanks for testing this