Showing posts with label sort. Show all posts
Showing posts with label sort. Show all posts

Tuesday, 10 November 2015

Thread Sort Order

                When a new version of Inventor rolls out and I am doing a fresh install I use a check list of things to do in order to get the upgrade. It’s things like migrating files, importing options and customization files, setting up the templates, etc. But there are a couple of things that I do as I go along and change only when needed. One of the things off the list is changing the threads sort order.

Don't you just hate when the screw opens and the filler or screw gages fall out of order?

                I am a metric guy and while I use imperial units as well and I can think inches just as much as millimetres I still need to change the default thread order. When you create a thread either with the Hole or Thread command I like to have “ISO Metric Profile” as default instead of “ANSI Metric M Profile”. It’s not a big deal to just choose ISO every time but it takes seconds to change it and save my time for something else, like doing this blog.
                First you need to locate your Design Data folder and for that you need to look at the settings of your project. Usually you will have a single Design Data folder for all your projects but you could have more than for your work, school etc. Click the Projects in Get Started tab, on the Quick Access Toolbar (QAT) or on the Inventor (big I top left) Manage submenu. The project can also be accessed on the open file dialog box.



                Expand the Folder Options and check the Design Data field. If it says “Default” then it’s not assigning special location for this and the Application Options settings are in place. Mine says “.\Design Data\” and the “.” in front suggests a relative path instead of a full path and it’s relative to the project located at “C:\CAD” so the location will sum up as “C:\CAD\Design Data\”. Relative paths are good because if I can copy or move the CAD folder without getting missing files and styles error.  If it was a full path and I would copy the CAD folder to CAD-B then the files from CAD-B would look for styles in CAD.


                If the field says “Default”, open Application Options from the Tools tab or on the Inventor menu. On the File tab Design Data filed you will see the location and if it’s not clear or the location means nothing to you, click the browse button next to it and you will see the full location.
                Navigate to Design Data, XLS, en-US folder and open thred.xls. Each thread type sheet will have a “Sort Order – X” cell right at the top which is what Inventor looks at when giving you the default thread. On the “ISO Metric profile” tab change the cell value to “Sort Order - 1” and on the “ANSI Unified Screw Threads” sheet change the cell to “Sort Order - 3”. Save and close the file and if you had Inventor open then you need to restart it. The thread.xls file is loaded in memory when Inventor starts and it will be used while that session is open.


                This will not save you a lot of time by itself but just like tuning a race car it’s the sum of all improvements that will give you performance. A 1% save in time here means nothing but add this up to other 10 small impact changes and you have a fair amount of improved time.


If you don’t use threads all that often then you can keep this in the back of your mind and skip doing the changes but if you find yourself constantly changing the thread standard then go ahead and implement this. It’s only when a new version rolls out that you can decided if this was a good call or not. With the new version installed did you even noticed that the threads are back to ANSI? If you did then you most likely need this change.

                Later,

ADS

Wednesday, 10 December 2014

Inventor BOM Structure



I’ve answered a question today on the inventor forum about the structure and sequence of the BOM. The question was why the structure set at the top level assembly doesn’t persist in the subassemblies and how to link them if possible.
The answer is I don’t know how to link BOM item structure in between different levels of a project” but I have a quick trick on re-structuring. I could think of doing it with illogic, to get the item number from the top level BOM and assign it the BOM of all subassemblies but what if you have reused components in different places? What item number would we give it? What if in one assembly you decide to change a part (or an occurrence) to phantom or reference?
So for now I leave the question open, maybe some of you have the answer and you’re willing to share it with us.
However I do have a workaround and I haven’t thought of posting it before because I’ve been doing it so often it became second nature and it didn’t occurred that others are unaware of it.
Unfortunately because the BOM item number is controlled at the assembly level you need to do this for each assembly that you want re-structured. Luckily, if your project files have unique filenames, than the structure becomes identical in all BOM’s where you do this routine.
It has always been a pain to do these but it takes seconds to fix. Normally in the top level assembly right at the end when the project is done I follow these steps:

1. Go to BOM in the assembly and enable the view, change it to all levels in the View Properties



2. Right clicking on the columns and selecting Runtime Column Customization, add BOM Structure, Component Type and File Path.
3. Use Sort Items and sort by:
3.1 BOM Structure - Ascending (this way you will have normal parts at the top and purchased, phantom reference towards the end.)
3.2 Component type - Ascending (this puts the assemblies and subassemblies at the top and parts at the end)
3.3 File Path - Ascending (if you have a logical part number structure and filename then it sorts by that)



4 Click ok and go to Renumber Items, make sure it set to renumber all rows. Specify the start (I have it on 1) and increment (1 again)



When you click ok they are all sorted out.



Unfortunately because each level can have suppressed, hidden components, this so you can generate a different structure, the component number is not linked between different levels. But it takes seconds to do this on subassemblies and sort them out too, and the item number should correspond because you use same sort order.
Let me know how that goes for you. You don't need to use expand all but I did it to check results.

And of course the video:

 

ADS.