From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Thank you for your request. R&D has read this suggestion and it will be included in feature planning discussions for future DIAdem versions.
Greetings
Walter
In DIAdem 2011 we now have the ability to conveniently Copy REPORT sheets and Append VIEW sheets, now it'd be great if we could Copy VIEW sheets (with script accessibility, of course).
I know this has been mentioned before, but doesn't have an "Idea Post" so thought I'd add it so it doesn't get lost.
I heartily agree, in fact this is one of the features I would personally most like to see added to DIAdem. I'm confident this will happen, but I fear it won't happen quite as quickly as we'd both like.
The solution is probably not clean (brutal), but works
Option Explicit 'Forces the explicit declaration of all the variables in a script.
Dim ActiveSheetIndex Dim i Dim n,n1,n2 i=0 ActiveSheetIndex = View.Activesheet.Index n = View.Sheets.Count Call View.SaveLayout("c:\YourPath\Copy.TDV") Call View.appendLayout("c😕YourPath\Copy.TDV") n1=n+1 n2=n*2 For i=n2 to n1 step -1 if not( i=ActiveSheetIndex+n) then Call View.Sheets.Remove(i) end if Next
This would be a very helpful feature [duplicate VIEW tab].
The script from LudekS works well, but unfortunately, I've had issues with it causing a corruption of the TDV file [I believe this is root cause] if I close DIAdem and reopen the TDV file.
Hello
Thank you for your request. R&D has read this suggestion and it will be included in feature planning discussions for future DIAdem versions.
Greetings
Walter