cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cleaning up visualization files

Cleaning up visualization files

Visualization files (e.g. DWF) are treated like files that are not controlled by a lifecycle when cleaned up. I want the cleanup of these files to be based exclusively on the existing versions of the associated parent file. In practice, it can happen that there is no visualization file for the most recent version of a file. However, there is a visualization file for the second-to-last version. If the second-to-last version of this file is cleaned up, the associated version of the visualization file cannot be cleaned up because it is the current version. This means I have an orphaned visualization file that does not belong to any parent file. This also prevents the job processor from creating newer versions of this visualization file. In some cases, the most recent version of a visualization file must also be cleaned up, or the visualization file must be deleted completely if there is no longer any connection to it.

 

 

Visualisierungsdateien (z.B. DWF) werden beim Bereinigen wie Dateien behandelt, die nicht von einem Lebenszyklus gesteuert werden. Ich möchte, dass sich die Bereinigung dieser Dateien ausschließlich nach den vorhandenen Versionen der zugehörigen übergeordneten Datei richtet. In der Praxis kann es vorkommen, dass es zur letzten Version einer Datei keine Visualisierungsdatei gibt. Zur vorletzten Version gibt es aber eine Visualisierungsdatei. Wenn jetzt die vorletzte Version dieser Datei bereinigt wird, kann die zugehörige Version der Visualisierungsdatei nicht bereinigt werden, da es hier die aktuelle Version ist. Ich habe dadurch eine verwaiste Visualisierungsdatei, die zu keiner übergeordneten Datei gehört. Das verhindert dann auch, dass durch den Jobprozessor neuere Versionen dieser Visualisierungsdatei erzeugt werden können. Unter Umständen muss auch die neueste Version einer Visualisierungsdatei bereinigt werden oder diese Visualisierungsdatei muss komplett gelöscht werden, wenn es keinerlei Verbindung mehr gibt.

8 Comments
ihayesjr
Community Manager

@thoroth 

Thank you for posting this. I can reproduce your scenario. 

I will see what we can do.

ihayesjr
Community Manager

@thoroth 

However, I don't see this causing a problem in creating a new DWF for the latest version of the model.

ihayesjr
Community Manager

@thoroth 

You can run a purge for uncontrolled versions, and the DWF files will get cleaned up.

ihayesjr
Community Manager

@thoroth 

To add, while the DWF files are treated as Uncontrolled, you should be able to run a purge for Controlled and Uncontrolled files. 

The DWF files associated with the parent model should be kept, and the DWFs associated with the purged model should be deleted. 

thoroth
Contributor

I can't clean up the last DWF version.
I had three versions of an IPT. I cleaned up two versions. However, my job processor only generated DWFs for two versions. The third version wasn't finished yet. When cleaning the DWF, only the first version is deleted. The second version can't be deleted because it is the current version.
The job processor cannot create a third DWF version after cleaning the IPT. I get an error message saying "no unique visualization file." The remaining second DWF version is causing problems. I have to delete the DWF completely first. After that, I can create DWFs again.

thoroth
Contributor

@ihayesjr

I clean the server via the command line. Afterward, I have a lot of failed DWF jobs.
I also can't use the "-KEEPVERS..." and "-MINAGE..." options. All DWF files must be cleaned. I don't have a separate option for DWF.

ihayesjr
Community Manager

@thoroth 

When are you performing the purge command-line. Are you purging at night?

thoroth
Contributor
Yes, on the weekend after the backup.

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea