Not exactly a elegant solution but you could use a macro...
Change the filename and path to the iPart of choice. The "1" indicates
which iPart member to insert.
A while back I had a macro to show a folder in the panelbar (your iPart
folder for example) so you could easily get to the iparts but it did not
remember the view type (icons, details etc..) for the folder.
Public Sub InsertiPart()
Dim oAsmCompDef As AssemblyComponentDefinition
Set oAsmCompDef = ThisApplication.ActiveDocument.ComponentDefinition
Dim oTG As TransientGeometry
Set oTG = ThisApplication.TransientGeometry
Dim oMatrix As Matrix
Set oMatrix = oTG.CreateMatrix
Call oMatrix.SetToRotation(3.14159265358979 / 1, _
oTG.CreateVector(0, 0, 1), oTG.CreatePoint(0, 0,
0))
Call oMatrix.SetTranslation(oTG.CreateVector(3, 2, 1))
Dim oOcc As ComponentOccurrence
Dim FileName As String
FileName = "K:\Inventor Iparts\Oring.ipt"
Set oOcc = oAsmCompDef.Occurrences.AddiPartMember(FileName, oMatrix, 1)
End Sub
--
Sean Dotson, PE
RND Automation & Engineering
www.RNDautomation.com
www.mcadforums.com
wrote in message news:4989111@discussion.autodesk.com...
I was wondering if it was possible to add a shortcut to the panel for my
frequently used iParts. Instead of having to hit the "Insert Components"
button, browse down to the bottom, sift through my iParts until I find the
one I want. I could just hit a button in the Panel that would say insert a
Hex Nut
Any Idea's?