Autodesk Inventor
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
How to make all imported parts to be opened as Purchased by default?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hello
How to make all imported parts to be opened as Purchased by default?
Regards,
Orest Yavtushenko
Solved! Go to Solution.
Re: How to make all imported parts to be opened as Purchased by default?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I don't think that is possible.
-------------------------------------------------------------------------------------
2012 Product Design Suite Ultimate
Windows 7 64 bit
90G OCZ SATA 3 SSD (My SSD is faster than your HDD)
Core I7 920 processor, ATI HD6970 graphics card, 12G Corsair RAM

Re: How to make all imported parts to be opened as Purchased by default?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Imported parts are mostly purchased.
At least mine are 99.9% purchased.
Than will be some wrestling with Inventor to
turn them back to Purchased since it is tooo relactant to
do so just in straight way in some cases
Re: How to make all imported parts to be opened as Purchased by default?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
tools..document settings..bill of materials tab.. change default bom structure to purchased. Not that hard at all really.
Takes a few seconds.
-------------------------------------------------------------------------------------
2012 Product Design Suite Ultimate
Windows 7 64 bit
90G OCZ SATA 3 SSD (My SSD is faster than your HDD)
Core I7 920 processor, ATI HD6970 graphics card, 12G Corsair RAM

Re: How to make all imported parts to be opened as Purchased by default?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi Orest,
Actually, when you import an iges or step file as an Inventor part, the Default BOM Structure is the one of the Standard.ipt template.
So, if you want, you can create a new template, setting the Default BOM Structure to Purchased, name it, for instance, Standard_.ipt template and save it in the Template folder, of course.
Then, before to import the parts, in Windows Explorer, browse to the Templates folder and rename the Standard.ipt template to, for instance, Standard.bak and remove the underscore from the Standard_.ipt, naming it Standard.ipt.
Once you have finish to import the parts, you can restore the original Standard.ipt template.
Of course, it’s up to you to decide, according to your needs, if it’s more convenient for you to follow the suggestion from mcgyvr or this alternative way.
Kind regards,
Alessandro

Alessandro Gasso
Product Support Technical Lead
MFG - Inventor
Autodesk, Inc.
Re: How to make all imported parts to be opened as Purchased by default?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi orest_iy,
I do much the same thing with many imported parts, but use a small iLogic rule to set the BOM structure as mcgyvr suggests. You can just paste this code into a new ilogic rule and then run the rule after you import a part. I typically do this kind of thing as an external rule, that way it's avalible to be run on any part file I want.
Here's a great article on working with rules from Paul "the CAD Setter Out" Munford:
http://www.augi.com/library/playing-by-the-ilogic-
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
Dim oDoc As Document oDoc = ThisApplication.ActiveDocument Dim oCompDef As ComponentDefinition oCompDef = oDoc.ComponentDefinition 'kDefaultBOMStructure = 51969 'kNormalBOMStructure = 51970 'kPhantomBOMStructure = 51971 'kReferenceBOMStructure = 51972 'kPurchasedBOMStructure = 51973 'kInseparableBOMStructure = 51974 'kVariesBOMStructure = 51975 oCompDef.BOMStructure = 51973

Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
Re: How to make all imported parts to be opened as Purchased by default?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
You mean few second each
it could be 10-20 pieces a day plus changing Part Number which usually not follows the file name .. so really creative way of construction
Re: How to make all imported parts to be opened as Purchased by default?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Curtis
Your advise is the best one so far. Yes the rule is changing newbie or any other ipt to Purchased.
There are two additional things which could make this rule the GREAT.
Is it possible to make a custom button in Model ribbon and assign this rule to it? (Like in AutoCAD?)
The user is mostly work in Model and making one click he could get the happines of changing part status to
Purchased and not going to Manage - ilogic and etc - ie clicking comparable amount of buttons vs going tools -Doc Settings.
The second possible contribution is changing the Part Number to File Number.
Mostly Imported parts has some mess with that and it is also annoying changing or at least checking that
Regards,
Orest
Re: How to make all imported parts to be opened as Purchased by default?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi Orest_iy,
Here is the ammeded code, it will pull the file name into the input box and allow the user to accept it as the part number or change it to something else.
As far as making a button, the best way to do this is to create a button on the iLogic browser panel (assuming you're using Inventor 2012). I'm not aware of a way to add an iLogic button to the ribbon, but I know it's been requested in the past.
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
Dim oDoc As Document
oDoc = ThisApplication.ActiveDocument
Dim oCompDef As ComponentDefinition
oCompDef = oDoc.ComponentDefinition
'kDefaultBOMStructure = 51969
'kNormalBOMStructure = 51970
'kPhantomBOMStructure = 51971
'kReferenceBOMStructure = 51972
'kPurchasedBOMStructure = 51973
'kInseparableBOMStructure = 51974
'kVariesBOMStructure = 51975
oCompDef.BOMStructure = 51973
PN = InputBox("Accept the File Name as the Part Number or Enter a new one:", "iLogic", ThisDoc.FileName(False))
iProperties.Value("Project", "Part Number") = PN

Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
Re: How to make all imported parts to be opened as Purchased by default?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Yes it works
I can do it even for any other file as external rule, guess it is 2012 feature
Looking for creating the buttond in web to make a whole happiness in this question
Thanks,
Orest Yavtushenko


