Hi @janne_turpeinenKHRUC
In my opinion you would benefit greatly by using some coding (iLogic) which would greatly improve the speed of your process (defining stock size of components as I understand it) and its accuracy too – you wouldn’t need to enter stock sizes manually and it can be automated.
Setting up the Content Center to suit your needs is useful but relying solely on the CC to generate Stock Sizes is not the best way in my opinion, because:
- sometimes it just fits modeling better to not use CC components, but to draw up a part yourself – think complex sketches, derived or driven components etc.
- using formulas in iProperties requires parameters to be exported, which may or may not be checked for export (requiring extra steps to verify) and which will give you varying styles of formats based on each parts Document Settings -> Units.
- sometimes it is better to modify a component’s size than to begin with a different one. For example I’m using a 2x2x1/4 tube from CC, but needed to modify it later to 3/16 wall. Using size in Part Number or Description is asking for trouble sooner or later, save for the case that it would be linked to actual part parameters.
My solution is a piece of code and an Excel Spreadsheet with some data, which the code bounces off of. The spreadsheet contains for example tables with stock sizes to verify existence of actual stock. You can run the code from a part or from an Assembly level and run through all subcomponents. This is the workflow:
- all parts need a custom iProperty, a Product number: 01 – sheet metal, 02 – pipe or DOM, 03 – angle, 04 – flat bar, 05 – tube etc. This number can be added to each CC part’s family or to the template or later in the BOM. The code creates two more iProperties, “Stock Size” and “Cut Size”
- The code reads the number iProperty and based on its value does a few things:
- For sheet metal, it creates a flat pattern and also writes a parameter “Area” used in the “Cut Size” iProperty.
- For other parts, it requires certain parameters, typically used by Inventor in the CC. For example, for tubes it needs G_W (width), G_H (height), G_T (wall thickness) and FL (final length). For bolts it needs NND, NLG, TPU etc. etc.
- It fills in the "Stock Size" iProperty. For example, if "Product number" is "05" and the necessary parameters were found, "Stock Size" will be: Sq. Tube, 2 x 2 x 1/8. "Cut Size" iProperty will be filled with "FL" parameter.
- All this data is later used in the Parts List in the Drawings.
It works very well for me and I’d be glad to share it, but at the same time I realize it may look daunting or it may be too customized for our workflow and not as usable for yours. I have a feeling that with time everyone sets up their “Inventor workflow” to suit their needs and it looks a bit different for each one.
*** Lastly, a huge caveat! Using iLogic can be incredibly useful. BUT, depending on what you’re doing it may need “attention” here and there. It may throw errors. It may not work flawlessly always. If you’re not prepared to learn the basics then this whole idea here may not be for you…
Here is a snippet of a Part List. Columns "Stock Size" and "Cut Size" is what I was talking about. They are filled in by the code. This is one of the ways it can be 'automated' or at least helped. Thanks!
