Replies: 1 comment 2 replies
-
Inventor Error Report Date/Time: 2023-12-08 08:51:14 +01:00 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am using the QuickstartiLogicLibrary, Version=2023.0.0.0, and sometimes Inventor crashes when using the function GetFileByFullFilePath(oPath, False). I am using Inventor Build 418 Release 2023.4.1.
I am using the function in an assembly to retrieve all the .idw files from the parts/sub-assemblies in the assembly.
It did not happen in inventor 2019
Hopefully, you can help me. In any case, thank you!
See code below:
For Each oRefDoc In oRefDocs
If oRefDoc.DocumentType = DocumentTypeEnum.kPartDocumentObject Then
oFilename = Replace(oRefDoc.FullFileName, ".ipt", ".idw")
oExtensie = ".ipt"
ElseIf oRefDoc.DocumentType = DocumentTypeEnum.kAssemblyDocumentObject Then
oFilename = Replace(oRefDoc.FullFileName, ".iam", ".idw")
oExtensie = ".iam"
End If
'Shared Class
Public Shared iLogicVault As New QuickstartiLogicLibrary.QuickstartiLogicLib
Public Shared Sub Get_File_From_Vault(oPad As String)
Dim mVaultConnection As VDF.Vault.Currency.Connections.Connection
mVaultConnection = VB.ConnectionManager.Instance.Connection
Beta Was this translation helpful? Give feedback.
All reactions