• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk Inventor

    Reply
    Member
    Posts: 4
    Registered: ‎01-28-2010

    assembly strukture to excel

    138 Views, 4 Replies
    01-28-2010 05:26 AM
    Is it possible to export an assembly structure to excel and keep the structure? Get subassembleys and so on in different columns?
    Please use plain text.
    *Expert Elite*
    Posts: 855
    Registered: ‎02-16-2006

    Re: assembly strukture to excel

    01-28-2010 11:26 AM in reply to: Krewlir
    You won't get an indented BOM into excel, but if you export the structured all levels BOM with the item column included, the item column will give a good structure for sorting and manipulating data.
    I would advise you to set the number of figures in the item number to the maximum number of parts.
    For example if you have over 10 parts set the item values to 00, <100 parts set 000, <1000 parts 0000 .... this will make it easier in excel.
    HTH
    Please use plain text.
    *Brian Ekins \(Autodesk\)

    Re: assembly strukture to excel

    01-28-2010 12:00 PM in reply to: Krewlir
    Here's approach described here:
    http://modthemachine.typepad.com/my_weblog/2010/01/exporting-assembly-structure-to-excel.html
    --
    Brian Ekins
    Inventor API Product Designer
    http://blogs.autodesk.com/modthemachine
    Please use plain text.
    Member
    Posts: 4
    Registered: ‎01-28-2010

    Re: assembly strukture to excel

    01-29-2010 09:48 AM in reply to: Krewlir
    Brian: its just the way I want it in: http://modthemachine.typepad.com/.a/6a00e553fcbfc688340128772191fb970c-pi

    when I do as you say i get all information in the first column in excel? What am i doing wrong?
    Please use plain text.
    Distinguished Contributor
    Posts: 350
    Registered: ‎07-12-2007

    Re: assembly strukture to excel

    01-31-2010 05:18 PM in reply to: Krewlir
    I wrote some code to do essentially the "opposite", that is, import the structure into excel of the current Inventor assy.

    Some code tweaking will be necessary to suit your filing structure, and iProps that you wish to import (we have several custom ones). (Plus no doubt you will find more efficient ways of doing some things. This is not documented/commented as fully as it could/should be..)

    Place this code into an Excel code module, and run RetrieveInvAssyDetails()

    This will overwrite any cell content, so the best be is to use a new sheet.

    Have fun.

    Edit: you should start by modifying line 38. All our file names should start with 700... hence this line.
    =============================================
    This is my signature, not part of my post.
    Please use plain text.