Close
From a Wondows7 Command Line... I would like to extract the part numbers of iam files in a folder. CSV output would work fine. I'd like to have 2 columns... one for the Parent Number and one for the Child of that assembly.
Just to clarify...
1. Why Windows command prompt? Does it have to be that? Do you have access to Inventor on the PC that you want to do this with?
2. So you want one column with the part number of each assembly file within a folder, and a second column for the child part numbers? So, if the assembly structure is like this:
Assy1
- Part 1
- Part 2
Assy 2
-Part 1
-Part 3
Then your CSV file would look like this:
Assy1PN,Part1PN
Assy1PN,Part2PN
Assy2PN,Part1PN
Assy2PN,Part3PN
Is that correct? I'm not sure I understand what result you want.
3. Do you only one one level deep for the children of each assembly, or is it possible you'll want the full child structure?
oneilldm wrote:
I want to create a "Where Used" database...
Ah I see, that makes sense!
I'm not sure of a good way to search through all of the assemblies in a folder and extract BOM information from it, except maybe this:
Could you create a Master Assembly and always place the assemblies you want to track inside of it? I'm sure from there we could find a way to push out the parent assemblies and their children, either using a straight-up export of the BOM or perhaps some iLogic. But this only works if you can keep up with putting any Assemblies you care about into this "Master Assembly." Is that a possibility or does it need to be more automated than that?
He needs this but with batch processing and not 1 at a time..
I'm sure there is a way to do it.. I don't know that way..
.net/vba/apprentice or something 100% outside of Inventor
http://www.cbliss.com/inventor/iCode/BomXTractor.htm
actually.. edit....
From another forum he has posted on (I'm just going to comment on here for now on instead of both as the amount of eyes/users is much greater here)
He just needs "where used" functionality.. Which Inventor (design assistant) and Vault already have..
So lets hear why those won't work or specifically what EXACTLY you need to happen.
MechMachineMan wrote:
It's annoying to launch design assistant all of the time.
I actually made my own WhereUsed / Find Children subroutine in vb.net to avoid having to open design assistant all the time.
Just depends on the OP's needs..
If you just need to find out how many assemblies use 1 particular screw one time then its a no brainer to use DA..
Frankly I don't understand ANY company that doesn't have an ERP system of some sorts anyways...
Any decent ERP system will have where used..
Yes... I need something very simple...
We don't use Vault... and I'm dealing with stuff before it get's to our ERP system. I know we need a better system, but this is what I'm stuck with today.
MechMachineMan wrote:
It's annoying to launch design assistant all of the time.
I actually made my own WhereUsed / Find Children subroutine in vb.net to avoid having to open design assistant all the time.
Really all I want is what DRoam described...
DRoam wrote:Just to clarify...
...
2. So you want one column with the part number of each assembly file within a folder, and a second column for the child part numbers? So, if the assembly structure is like this:
Assy1
- Part 1
- Part 2
Assy 2
-Part 1
-Part 3
Then your CSV file would look like this:
Assy1PN,Part1PN
Assy1PN,Part2PN
Assy2PN,Part1PN
Assy2PN,Part3PN
So whats wrong with Design assistant? (Autodesk file menu, manage, design assistant.. in DA go to tools..find..where used)
And how can you have thousands of iam files to search whos boms aren't in ERP already?
Just asking questions to provide a proper answer and not steer you down a path of having to roll your own solution..
I see NO reason at this point to have to create anything for a where used in Inventor. Its already there..
Have questions about Autodesk products? Ask the community.
Search the Autodesk Knowledge Network for more content.
New: Get an Activation Code
Mac OS x10.13 Support
Windows 10 Support
Autodesk Online Store Help
Software Downloads
Serial Numbers & Product Keys
Installation & Licensing
Online Activation & Registration
Network License Administration
Sign In / Create Account
Subscription Help
Maintenance Plan Help
Autodesk is a leader in 3D design, engineering and entertainment software.
