Insert Custom Part to Parts list via iLogic

Insert Custom Part to Parts list via iLogic

Anonymous
Not applicable
1,284 Views
8 Replies
Message 1 of 9

Insert Custom Part to Parts list via iLogic

Anonymous
Not applicable

Hello dear "Inventors"!

 

I was wondering if anyone knows how to insert a custom part in a partlist using iLogic?

 

Thanks - Dave

0 Likes
1,285 Views
8 Replies
Replies (8)
Message 2 of 9

jwiens
Participant
Participant

I'm wondering about this too.

Anybody have any ideas?

0 Likes
Message 3 of 9

Mark.Lancaster
Consultant
Consultant

Can you clarify what you mean here?  Are you talking about a custom part you made or a custom part from the content center?   And parts list to me means the parts list that is shown on the drawing.  Is that what you are referring to? If its the parts list on the drawing, what are you trying to acommplish?

 

Also indicate which version of Inventor you are using

Mark Lancaster


  &  Autodesk Services MarketPlace Provider


Autodesk Inventor Certified Professional & not an Autodesk Employee


Likes is much appreciated if the information I have shared is helpful to you and/or others


Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.

0 Likes
Message 4 of 9

jwiens
Participant
Participant
Hi, I'm using Inventor 2013. I'm trying to add a custom part to a parts list and fill the line in with iProperties of the parent assembly. Hope this is clearer. Thanks, Sent from an iPhone
0 Likes
Message 5 of 9

jwiens
Participant
Participant
(This is the parts list on a drawing)
0 Likes
Message 6 of 9

Anonymous
Not applicable

Use the PartsListRows.Add Method to add the row.

Message 7 of 9

mslosar
Advisor
Advisor
If it's an assembly, you can also add a virtual part.

Basically it makes an entry in the browser - no geometry is associated with it - and you fill in its properties as you see fit. It will be added to the parts list/BOM structure

If you're actually adding a geometric part (i.e. a part file) it should have properties that are associated with it that would be displayed in the parts list/BOM.

Additionally, you CAN make a blank ipt file. Fill out it's properties, and place it in your assembly as well. It will then show nothing in your views, but be added the browser/parts list/BOM.
Message 8 of 9

MechMachineMan
Advisor
Advisor
As mslosar said, Virtual Parts or Blank ipts are a much better idea - blank ipt's if reused a lot, Virtual Parts for one time things --

The reason I say this is that the virtual/blank parts are a lot easier to track and control when it is consistent between all BOM's/PartsLists, and not just some extra fluff added in at the bottom level that might get forgotten.

--------------------------------------
Did you find this reply helpful ? If so please use the 'Accept as Solution' or 'Like' button below.

Justin K
Inventor 2018.2.3, Build 227 | Excel 2013+ VBA
ERP/CAD Communication | Custom Scripting
Machine Design | Process Optimization


iLogic/Inventor API: Autodesk Online Help | API Shortcut In Google Chrome | iLogic API Documentation
Vb.Net/VBA Programming: MSDN | Stackoverflow | Excel Object Model
Inventor API/VBA/Vb.Net Learning Resources: Forum Thread

Sample Solutions:Debugging in iLogic ( and Batch PDF Export Sample ) | API HasSaveCopyAs Issues |
BOM Export & Column Reorder | Reorient Skewed Part | Add Internal Profile Dogbones |
Run iLogic From VBA | Batch File Renaming| Continuous Pick/Rename Objects

Local Help: %PUBLIC%\Documents\Autodesk\Inventor 2018\Local Help

Ideas: Dockable/Customizable Property Browser | Section Line API/Thread Feature in Assembly/PartsList API Static Cells | Fourth BOM Type
0 Likes
Message 9 of 9

Mark.Lancaster
Consultant
Consultant

MechMachineMan stated blank ipt's if reused a lot, Virtual Parts for one time things....  However here's an idea of Adding Virtual Parts via Excel, so they can be used over and over again.

 

No need to make blank IPTs...

Mark Lancaster


  &  Autodesk Services MarketPlace Provider


Autodesk Inventor Certified Professional & not an Autodesk Employee


Likes is much appreciated if the information I have shared is helpful to you and/or others


Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.

0 Likes