79 Posts
I want to export a MB project of mine to a Bricklink wanted list. I was planning on exporting it to LDD and exporting that to BL, but I couldn't figure out how to do that. I exported all three file options, all with the LEGO logo, but none of them were compatible with either LDD or Bricksmith. There are other forum posts talking about an .xml file to put in to Bricklink, but I can't find that, either. I can't even find a parts list to painstakingly enter in each piece manually. Am I just foolishly overlooking something, or is there some deeply hidden program to run, or is this entirely impossible and I just wasted* all my time building it here when I should have used Bricksmith?**

*Well, not really wasted... MB is superior to either of its alternatives in its convenience and versatility.
**If this is the case, could this function be added someday really soon?
11 Sep 2016, 19:49
3180 Posts

There aren't any functions to export to LDD or Ldraw format from Mecabricks.

Regarding the part list for bricklink, yes it is possible. For public models:
Model page -> Inventory (below 3D player) -> Bricklink XML

You will get 2 files. One can be uploaded directly on Bricklink. The other one is the list of part that Mecabricks doesn't know how to convert (e.g. bricklink information has not been filled in yet in the database).

For your own private models, use the url:

where MODEL_ID is the 11 chars alphacode of your model.
11 Sep 2016, 20:20
Edited 25 Nov 2019, 22:50
79 Posts
It didn't work... It says one of the items is invalid or doesn't exist in the Bricklink catalog. Do I have to search through the .xml file and find and delete all the parts in the "not in BL" file that came with the download?

Why does everything I want to do on my computer require a Level 5 Sorcerer?!
12 Sep 2016, 02:06
3180 Posts
No. The bricklink xml file doesn't include the parts from the other "Not in BL" file. There might be a glitch somewhere either on the file generated by Mecabricks or Bricklink. Is the model you want the inventory for public?
12 Sep 2016, 03:11
3180 Posts
Actually, did you try to open the xml file in a text editor, copy the content and paste in bricklink instead of uploading the file? I think it is how it works if I remember.
12 Sep 2016, 03:12
561 Posts
Just wanted to say that this question has been asked before, and it's completely normal as it's a quite difficult process.
@Scrubs, 5 minutes work, add a link to the inventory url in the account library.
For the unspecified bricks, it's an ongoing work I guess to match them up.
12 Sep 2016, 07:42
3180 Posts
I am not willing to really promote it for now. This is just a link for you guys but behind the scene it is not that simple to maintain and make it work 100%. It is still buggy for now as you can see.
12 Sep 2016, 07:55
79 Posts
@Scrubs It is public, yes: http://mecabricks.com/en/models/EAbjpWXz25y
I opened the .xml file in TextWrangler and copied it from there and pasted it into the BL .xml upload box.

@Sim Do you have a link to the post? It might be useful.
12 Sep 2016, 23:35
561 Posts
It was just a suggestion to add a link to the xml in the library for private use. So, there is no link yet, as Scrubs wants to keep this feature unpromoted for now.
@Scrubs, what should be done to make it work for 100%. Is the code not really good or is it data that needs to be added?
13 Sep 2016, 04:58
3180 Posts
It was working before and it appears that it doesn't always now. Bricklink might have changed its code and may be a bit more strict on the input data. If it is what I am thinking about, it will be really tricky to solve. But before jumping to conclusion I will have to investigate which is not the priority now.
13 Sep 2016, 07:00
561 Posts
Investigated and all:

For this case, it seems to be a typo:
Mecabricks: Flat Tile 1X2 No.90 has bricklink id: 3069bcp1
Bricklink: Flat Tile 1X2 No.90 has bricklink id: 3069bpc1
If this gets fixed on Mecabricks, then JD430w will import the file succesfully on Bricklink

The XML page on Bricklink might have changed, I'm unsure as I've signed up today, and if your XML is failing, it will just give the same message every time.
"One of the items in the XML file is invalid or does not exist in the Bricklink Catalog."
The XML itself hasn't changed. The documentation page is redirecting to the old site.
13 Sep 2016, 08:09
3180 Posts
Same, I never use the xml import function on Bricklink and error return is pretty basic and doesn't allow for debug. I guess we will have to live with it. If it fails it will be likely that a reference has been entered incorrectly.
13 Sep 2016, 08:26
79 Posts
It's fixed now?
13 Sep 2016, 22:59
3180 Posts
I corrected the database error that Sim pointed out. It is up to you now to try if it works or not.
13 Sep 2016, 23:13
79 Posts
@Scrubs Okay, thanks. I was not expecting it to be that fast. Usually when things go wrong for me they take a week or two to fix.
Thanks for your help!
13 Sep 2016, 23:25
4 Posts
My zip folder is always empty. What have I done wrong?
8 Apr 2019, 19:16
561 Posts
What model are you trying to export?
9 Apr 2019, 04:37
4 Posts
Private model. I use the URL and my model alpha code as above. However, when I do an empty zip downloads.
10 Apr 2019, 16:16
Page 1 of 1