• 0
Jeff McClain

Error when Subtracting Parts from My Parts list on Import

Question

Finding a problem when trying to build a "buy on bricklink" parts list.  Basically, I have a list of parts I "need" to have, and then I would like to just subtract out parts from sets I'm buying for that (sort of a manual compute build this MOC).  I'm trying this from the Import/Export button on the My Parts screen.  There is a List A with say 150 parts.  And a CSV exported set list.  I want to "subtract from current list" on that dialog.  It works if there are MORE in my current List A of every part.  Problem is, if there is any line item type with MORE than I have in List A, it fails with an error "Can't have negative" or something.

While I think the error makes sense, I would like the ability to ignore this and just have it zero out and not go negative.  Basically, it is eliminating parts I need by dropping sets on it.  I think I've found better ways to do this with the My Custom Lists, and apply MOC's and stuff and can get delta's from that in the Build It! dialog similar to a set, but figured I'd mention this here.

Jeff

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Another way to think about this, is I want to have a list of "left over" parts after using a set (or sets) to build a MoC.  The only way I can see to do this, is export the original set parts list for the MoC to rebrickable CSV, and then try to IMPORT that (as a subtraction) off of the Original Set Parts list.  Unfortunately, I get an error that "part count for XXXYYYZZZ part can not be <0", or something like that.  I would DESPERATELY like to ignore this error and have it just clamp the target parts list to NOT go below zero, but just warn me with the line items it clamped.  Either way, assuming I already got all my parts to BUILD the MoC, this is a GLORIOUS way for me to get a "balance" of parts NOT USED that I can then "use" as spare parts for other sets...or at least see what would be left over.  Please help?

Share this post


Link to post
Share on other sites
  • 0

Here is a simple example:

Set A Part list has:

  • 3x Item X
  • 2x Item Y
  • 20x Item Z

Set B MOC Part list has:

  • 5x Item X
  • 10x Item W
  • 3x Item Z

I would like to Remove (subtract button in import) all items that can be consumed by building Set B from Set A.  I click on Import when in Set A parts list, after EXPORTING Set B's items to Rebrickable CSV (I would like to simply subtract a parts list from another parts list without exporting, but, that doesn't seem available).  Unfortunately, because Set B's list has 5x Item X, it tries to make Set A's Item X -2, and throws an error an the entire Import fails.  I would prefer if there were an option to simply WARN that Item X had exceeded Set A's counts and counts had been clamped at 0.  I also assume 10x Item W would make Set A part list negative as an error.  The 3x Item Z would work as expected and leave you with 17x Item Z left over to build other things...

Share this post


Link to post
Share on other sites
  • 0

...and again, I *think* I've found a long way around to do this.  Make all your original Set A a "custom" list.  Then, click Build This List.  From there, assuming you ONLY have selected Part List B as "Use in Build", you would build List A with that Part List B MoC.  This will show you all the items "left to buy", but same as what you have left over and now you can SAVE this to a Part List (call it Left Over)...

Now, AS I BUILD from sets I buy, I have an automatic way to keep a running list of left overs that I can consume/use from on other MoC builds.

Edited by Jeff McClain

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now