Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I-Assembly/I-Part member Access

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
Anonymous
409 Views, 3 Replies

I-Assembly/I-Part member Access

Hi,

I have I-Part/I-Assembly with many Factory Members. I can open the Factory Member Part/Assembly Files by browsing to their location.

But this is a cumbersome task to search for a particular member when they are a lot of them with similar part numbers.

Is there as way to open Factory Member File (Instead of the Master file which generates those members) from the User Assembly (Assembly which uses the I-Part/I-Assembly).

Thanks and Regards,

Jiten

3 REPLIES 3
Message 2 of 4
Mark.Lancaster
in reply to: Anonymous

Jitenkumar

 

If you open a member from an assembly you get the iPart or iAssembly factory.   If you want the given member then you have to manually open it by navigating to the actual member.    It is set up that way because the factory is always the controlling file.

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.

Message 3 of 4
Anonymous
in reply to: Mark.Lancaster

Thank You Mark.

It would have been good to have that option though.

if anyone has an API for this purpose, Please post it here.

Regards,

JIten

Message 4 of 4
Anonymous
in reply to: Anonymous

Ok Did a little Internet search/Learning. Here it is.

 

Sub openselected()
  Dim oDoc As Document
  Dim obj As Object
  Set obj = ThisApplication.ActiveDocument.SelectSet.Item(1)
  If (TypeOf obj Is ComponentOccurrence) Then
     Dim occ As ComponentOccurrence
     Set occ = obj
       End If
    Set oDoc = ThisApplication.Documents.Open(occ.Definition.Document.Fullfilename, True)
    oDoc.Activate
End Sub

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report