Reset properties with VDS copy command

Reset properties with VDS copy command

alex_hiis6PJP6
Enthusiast Enthusiast
216 Views
1 Reply
Message 1 of 2

Reset properties with VDS copy command

alex_hiis6PJP6
Enthusiast
Enthusiast

Using copy design command I am able to reset specific properties with rule sets, i.e reset property Author value to the user value performing the copy design (screenshot attached).
Is something like this possible with Vault Data Standard commands Copy and Copy incl. Drawing? I know that currently VDS resets properties like DocNumber, Folder, Part Number etc.
Which file would I need to modify to customize the Copy and Copy incl. Drawing commands?

 

 

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

Markus.Koechl
Autodesk
Autodesk

All Data Standard dialogs run the InitializeWindow function in the PowerShell script Default.ps1. You can set specific rules for copying files, like this sample of resetting the display name:

				if ($Prop["_CopyMode"].Value) {
					$Document.DisplayNameOverridden = $false
				}

 I hope this helps to get started.



Markus Koechl

Solutions Engineer PDM, Autodesk Central Europe
0 Likes