GUID for "Inventor Vault" for inventor application 2023

GUID for "Inventor Vault" for inventor application 2023

khadeerkruthi
Contributor Contributor
238 Views
1 Reply
Message 1 of 2

GUID for "Inventor Vault" for inventor application 2023

khadeerkruthi
Contributor
Contributor

hi Team,

The below code will get the GUID of "Vault Standard Data", Similarly I was trying for "Inventor Vault".

Public Sub Main()

Activate()

End Sub

Public Sub Activate()


Dim VaultStandardData As ApplicationAddIn

VaultStandardData = ThisApplication.ApplicationAddIns.ItemById("{3AD251E3-02DD-4B8C-8882-86C97C80E00C}")


VaultStandardData.Activate()
VaultStandardData.LoadAutomatically = True

VaultStandardData.Deactivate()
VaultStandardData.LoadAutomatically = False


End Sub

0 Likes
239 Views
1 Reply
Reply (1)
Message 2 of 2

bradeneuropeArthur
Mentor
Mentor

Run this piece of code:

And you will find a text file on "C:\ApplicationAddins\"

 

Public Sub Main()
Dim aa As Inventor.ApplicationAddIn

For Each aa In ThisApplication.ApplicationAddIns
	WriteText(aa.DisplayName & " - "& aa.ClientId, "Addins")
	Next
	
End Sub
	
	Public Sub WriteText(StrTextToWrite As String, Optional strFileName As String = "File3")
        Try
            
            Dim FileNameTekstfile As String = Nothing

            Try

                FileNameTekstfile = strFileName '"UserName
            Catch ex As Exception

            End Try

            Try
                MkDir("C:\ApplicationAddins\")
            Catch ex As Exception

            End Try

            Dim FILE_NAME As String = "C:\ApplicationAddins\ " & FileNameTekstfile & ".txt"

            Dim objWriter As New System.IO.StreamWriter(FILE_NAME, True)

            Try

                objWriter.WriteLine(StrTextToWrite)
            Catch ex As Exception

            End Try

            objWriter.Close()
        Catch ex As Exception

        End Try

 

 

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes