<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: iLogicVault.UpdateVaultFileProperties() Not Updating .dwg Properties in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogicvault-updatevaultfileproperties-not-updating-dwg/m-p/14052769#M179735</link>
    <description>&lt;P&gt;See attached images That show the existence of the applicable properties in the .dwg. We are not using a Design Documentation category, both are in the same category. Regardless of category, the Description property should be ubiquitous.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The function "iLogicVault.UpdateVaultFileProperties()" is used to update properties in vault, not within the file. I'm not sure what your second question is asking. The code is attached above and below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Revised Code for isolated testing:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Sub TestingCode()
	vaultName 			= "$/Engineering/CC-LMS/_Users/River Engum/Vault Testing/lc test.dwg"
	vaultNameIam 		= "$/Engineering/CC-LMS/_Users/River Engum/Vault Testing/lc test.iam"
	
	Dim propDict As New Dictionary(Of String, Object)
	propDict.Add("ECN", "ECN Test")
	propDict.Add("Description", "desc test")
	For Each key As String In propDict.Keys
	    Logger.Info(key &amp;amp; ": " &amp;amp; propDict(key))
	Next
	
	Dim getLatest As Boolean = False
	'Logger.Info("getLatest: " &amp;amp; getLatest)
	
	updatedDWG = iLogicVault.UpdateVaultFileProperties(vaultName	, propDict, getLatest)
	updatedIAM = iLogicVault.UpdateVaultFileProperties(vaultNameIam, propDict, getLatest)
	
	If Not updatedDWG Then 
		Logger.Error("Updated .dwg: " &amp;amp; updatedDWG)
	Else
		Logger.Info("Updated Vault File Properties: " &amp;amp; Now())
	End If
	
	If Not updatedIAM Then 
		Logger.Error("Updated .iam: " &amp;amp; updatedIAM)
	Else
		Logger.Info("Updated Vault File Properties: " &amp;amp; Now())
	End If
End Sub&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Mar 2026 18:48:20 GMT</pubDate>
    <dc:creator>River.EngumYTTWH</dc:creator>
    <dc:date>2026-03-12T18:48:20Z</dc:date>
    <item>
      <title>iLogicVault.UpdateVaultFileProperties() Not Updating .dwg Properties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogicvault-updatevaultfileproperties-not-updating-dwg/m-p/14020136#M179733</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hopefully I have some silly mistake on my hands as I'm sure .UpdateVaultFileProperties() should be working for .dwgs of others.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When attempting to update vault file properties of a .dwg, it shows a Property Edit version being created, but doesn't actually change any properties. The same code works perfectly for .ipt's and .iam's.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is some simple code I put together to isolate this from my larger project, changing the vault path and property names should allow easy replication.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This also does not work when using the sample code to attempt to change properties from Inventor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After some testing, I think this is due to the "Classification" property. I seem to be able to use the function to update .dwgs that have a Classification of None. I am unable to update properties of .dwgs with the Classification of Design Document.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My rough testing code:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Sub iLogicMethod()
	vaultName 			= "$/Engineering/CC-LMS/_Users/River Engum/Vault Testing/lc test.dwg"
	vaultNameIam 		= "$/Engineering/CC-LMS/_Users/River Engum/Vault Testing/lc test.iam"
	
	Dim propDict As New Dictionary(Of String, Object)
	propDict.Add("ECN", "ECN Test")
	propDict.Add("Description", "desc test")
	For Each key As String In propDict.Keys
	    Logger.Info(key &amp;amp; ": " &amp;amp; propDict(key))
	Next
	
	Dim getLatest As Boolean = False
	'Logger.Info("getLatest: " &amp;amp; getLatest)
	
	updated = iLogicVault.UpdateVaultFileProperties(vaultName	, propDict, getLatest)
	updated = iLogicVault.UpdateVaultFileProperties(vaultNameIam, propDict, getLatest)
	
	If Not updated Then 
		Logger.Error("Updated: " &amp;amp; updated)
	Else
		Logger.Info("Updated Vault File Properties: " &amp;amp; Now())
	End If
End Sub&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Autodesk Sample Code:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;'DISCLAIMER:
'---------------------------------
'In any case, this solution's code, templates, and snippets are of "work in progress" character.
'Autodesk does Not represent that these samples are reliable, accurate, complete, Or otherwise valid For production usage. 
'Accordingly, those configuration samples are provided “as is” with no warranty of any kind, and you use the applications at your own risk.

Sub Main

	'Validate user's login state; it is optional as iLogicVault methods throw an exception with message 'Please log in to Vault before using this function'.
	If iLogicVault.LoggedIn = False
		Logger.Error("Not Logged In to Vault! - Login first and repeat executing this rule.")
		Exit Sub
	End If

	'Build one to many name/value pairs of Property/Value; note the value has to be of the expected type like string (text), decimal (numbers), date (date/time), or boolean (true/false)
	Dim mPropNameValueMap As New Dictionary(Of String, Object) 'add UDP.DisplayName, UDP.Value object of matching type
	mPropNameValueMap.Add("Title", "Property Edit at " + Date.Now.ToString)
	Dim mDate As Date = Date.Now
	mPropNameValueMap.Add("Checked Date", mDate)
	Dim mNum As Decimal = 15.6
	mPropNameValueMap.Add("Cost", mNum)
	Dim mBool As Boolean = True
	mPropNameValueMap.Add("MBD", mBool) 'Note - Vault UDP of type Bool must not have "Indeterminate" state; set the default value to True/False

	'we need the file's path in Vault; you can convert the local file path to the corresponding Vault virtual path
	Dim mVaultFileName As String = iLogicVault.ConvertLocalPathToVaultPath(ThisDoc.Path) + "/" + ThisDoc.FileName(True)

	'Retrieve the active document's Vault file status as name/value pairs 
	Dim mDocVaultStatus As New Dictionary(Of String, String)
	mDocVaultStatus = iLogicVault.GetVaultFileStatus(ThisDoc.PathAndFileName(True))
	If mDocVaultStatus.Item("ErrorState") = "None" And Not mDocVaultStatus.Item("CheckOutState") &amp;lt;&amp;gt; "NotCheckedOut" Or mDocVaultStatus.Item("LockState") &amp;lt;&amp;gt; "Unlocked" Then
		Dim success As Boolean = iLogicVault.UpdateVaultFileProperties(mVaultFileName, mPropNameValueMap)
		success = iLogicVault.UpdateVaultFileProperties(mVaultFileName, mPropNameValueMap)
		If success = False Then
			Logger.Error("Update Properties failed; either the file does not exist at the given full file name/path or is not available for check out.")
		Else
			Logger.Info("Successfully updated properties of file :" &amp;amp; mVaultFileName)
			'refresh the Vault Browser
			oControlDef = ThisApplication.CommandManager.ControlDefinitions.Item("VaultRefresh")
			oControlDef.Execute2(True)
		End If
	Else
		Logger.Error("Could not start to update the properties; check the status info below:")
		Logger.Info("CheckOutState = " + mDocVaultStatus.Item("CheckOutState"))
		Logger.Info("ConsumableState = " + mDocVaultStatus.Item("ConsumableState"))
		Logger.Info("ErrorState = " + mDocVaultStatus.Item("ErrorState"))
		Logger.Info("LocalEditsState = " + mDocVaultStatus.Item("LocalEditsState"))
		Logger.Info("LockState = " + mDocVaultStatus.Item("LockState"))
		Logger.Info("RevisionState = " + mDocVaultStatus.Item("RevisionState"))
		Logger.Info("VersionState = " + mDocVaultStatus.Item("VersionState"))
	End If

End Sub&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2026 19:41:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogicvault-updatevaultfileproperties-not-updating-dwg/m-p/14020136#M179733</guid>
      <dc:creator>River.EngumYTTWH</dc:creator>
      <dc:date>2026-02-16T19:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: iLogicVault.UpdateVaultFileProperties() Not Updating .dwg Properties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogicvault-updatevaultfileproperties-not-updating-dwg/m-p/14052729#M179734</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12953390"&gt;@River.EngumYTTWH&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you make sure that the properties you are trying to edit are assigned to the Design Documentation category in Vault?&lt;/P&gt;
&lt;P&gt;Does your code change the value in the DWG but not show it when it gets into Vault?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2026 18:21:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogicvault-updatevaultfileproperties-not-updating-dwg/m-p/14052729#M179734</guid>
      <dc:creator>ihayesjr</dc:creator>
      <dc:date>2026-03-12T18:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: iLogicVault.UpdateVaultFileProperties() Not Updating .dwg Properties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogicvault-updatevaultfileproperties-not-updating-dwg/m-p/14052769#M179735</link>
      <description>&lt;P&gt;See attached images That show the existence of the applicable properties in the .dwg. We are not using a Design Documentation category, both are in the same category. Regardless of category, the Description property should be ubiquitous.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The function "iLogicVault.UpdateVaultFileProperties()" is used to update properties in vault, not within the file. I'm not sure what your second question is asking. The code is attached above and below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Revised Code for isolated testing:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Sub TestingCode()
	vaultName 			= "$/Engineering/CC-LMS/_Users/River Engum/Vault Testing/lc test.dwg"
	vaultNameIam 		= "$/Engineering/CC-LMS/_Users/River Engum/Vault Testing/lc test.iam"
	
	Dim propDict As New Dictionary(Of String, Object)
	propDict.Add("ECN", "ECN Test")
	propDict.Add("Description", "desc test")
	For Each key As String In propDict.Keys
	    Logger.Info(key &amp;amp; ": " &amp;amp; propDict(key))
	Next
	
	Dim getLatest As Boolean = False
	'Logger.Info("getLatest: " &amp;amp; getLatest)
	
	updatedDWG = iLogicVault.UpdateVaultFileProperties(vaultName	, propDict, getLatest)
	updatedIAM = iLogicVault.UpdateVaultFileProperties(vaultNameIam, propDict, getLatest)
	
	If Not updatedDWG Then 
		Logger.Error("Updated .dwg: " &amp;amp; updatedDWG)
	Else
		Logger.Info("Updated Vault File Properties: " &amp;amp; Now())
	End If
	
	If Not updatedIAM Then 
		Logger.Error("Updated .iam: " &amp;amp; updatedIAM)
	Else
		Logger.Info("Updated Vault File Properties: " &amp;amp; Now())
	End If
End Sub&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2026 18:48:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogicvault-updatevaultfileproperties-not-updating-dwg/m-p/14052769#M179735</guid>
      <dc:creator>River.EngumYTTWH</dc:creator>
      <dc:date>2026-03-12T18:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: iLogicVault.UpdateVaultFileProperties() Not Updating .dwg Properties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogicvault-updatevaultfileproperties-not-updating-dwg/m-p/14055877#M179767</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12953390"&gt;@River.EngumYTTWH&lt;/a&gt;&amp;nbsp;- Which version of Inventor and Vault are you using?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2026 15:14:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogicvault-updatevaultfileproperties-not-updating-dwg/m-p/14055877#M179767</guid>
      <dc:creator>MjDeck</dc:creator>
      <dc:date>2026-03-16T15:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: iLogicVault.UpdateVaultFileProperties() Not Updating .dwg Properties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogicvault-updatevaultfileproperties-not-updating-dwg/m-p/14055911#M179768</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/537534"&gt;@MjDeck&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Autodesk Vault Professional 2025:&lt;/P&gt;&lt;P&gt;Build 30.4.28.0&lt;/P&gt;&lt;P&gt;2025.4 Update&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Autodesk Inventor Professional 2025:&lt;/P&gt;&lt;P&gt;Build 356&lt;/P&gt;&lt;P&gt;Release 2025.3.2 - Date Mon 8/25/2025&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2026 15:52:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogicvault-updatevaultfileproperties-not-updating-dwg/m-p/14055911#M179768</guid>
      <dc:creator>River.EngumYTTWH</dc:creator>
      <dc:date>2026-03-16T15:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: iLogicVault.UpdateVaultFileProperties() Not Updating .dwg Properties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogicvault-updatevaultfileproperties-not-updating-dwg/m-p/14065132#M179855</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12953390"&gt;@River.EngumYTTWH&lt;/a&gt;&amp;nbsp;- thanks. We've been able to reproduce the problem and we're looking at it.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 17:23:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogicvault-updatevaultfileproperties-not-updating-dwg/m-p/14065132#M179855</guid>
      <dc:creator>MjDeck</dc:creator>
      <dc:date>2026-03-24T17:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: iLogicVault.UpdateVaultFileProperties() Not Updating .dwg Properties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogicvault-updatevaultfileproperties-not-updating-dwg/m-p/14065145#M179856</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/537534"&gt;@MjDeck&lt;/a&gt;&amp;nbsp;- Thanks for the update. I have been in communication with someone in "Customer Technical Success" and allegedly this is a known issue "under the PDM Jira cases with their development team." They apparently cite “that there’s no way to distinguish between [Inv.dwg and ACAD.dwg files]." This is confusing to me as&amp;nbsp;Vault has a property that should be accessible via the Vault API of “Provider”, returning “AutoCAD” or “Inventor DWG”.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Customer Technical Success has since stepped away from this problem as it is "out of their hands." I would greatly appreciate anything you can do to fix this currently semi-functional feature.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 17:29:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogicvault-updatevaultfileproperties-not-updating-dwg/m-p/14065145#M179856</guid>
      <dc:creator>River.EngumYTTWH</dc:creator>
      <dc:date>2026-03-24T17:29:21Z</dc:date>
    </item>
  </channel>
</rss>

