How can I make selected the part or sub from API?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm using Inventor 2013 and VB 2010 Express... I can find a part or sub from browser and open it seperately by below code:
Dim invDocs As AssemblyDocument
invDocs = Form1.inv_App.ActiveDocument
Dim invDocument As Document
Dim Sayac As Integer
Dim oRefDocs As DocumentsEnumerator
oRefDocs = invDocs.AllReferencedDocuments
Dim invDocument2 As Documents
invDocument2 = Form1.inv_App.Documents
For Each invDocument In oRefDocs
If Form1.BaseFilename(invDocument.FullDocumentName).ToUpper = TextAranan.Text Then invDocument2.Open(invDocument.FullDocumentName, True)
Sayac += 1
Next
But I need to make the part selected on the browser? I want to focus (highlight) on the part and reposition the browser tree?
Is this possible from API?...
Regards,
Mucip:)