(2025-02-09, 12:13)Puk Jennekens Wrote: Thanks for your reaction, I would love to be able to do this based on LEGO part numbers and color id's. And an important part are the minifigures, those I would like to export as well. Would that be possible you think?
Yes, I would say it works.
In Bricklink you have to download the catalog.
In the catalog there is the relationship between the part ID and the Lego element number depending on the color.
But LDraw, Bricklink and Lego use different names and numbers for the colors. In addition, sometimes different part IDs are used. In addition, not all Lego parts, especially older parts, have a known Lego element number. Sometimes a part has several Lego element numbers and part IDs.
In LDraw, printed parts are only partially referenced to Bricklink.
I have solved this issue with the help of a database. The database must be maintained and expanded.
Good luck.