Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: Watermark_JS on November 08, 2022, 03:48:48 PM

Title: Feature Request - Import/Export Replace/Swap lists
Post by: Watermark_JS on November 08, 2022, 03:48:48 PM
It would be very useful to be able to import/export lists created for the Replace/Swap tool as .csv files.

This would allow for much faster editing of UDT-based lists.  As we re-use code (for example, code that cannot be used in a subroutine, due to instruction limitations), we find ourselves recreating the same list, many times, only changing an ID value in the nickname or UDT name.

Also, allowing us to resize the entire window, but particularly the list section, would make the tool easier to use.  It can be difficult to proof-read the list before execution, as-is -- see attachment.
Title: Re: Feature Request - Import/Export Replace/Swap lists
Post by: RBPLC on November 08, 2022, 05:40:53 PM
I hope you haven't been doing the attached for a long time. You can replace all elements of the UDT at one time. In your case:

PmpChem0 -> PmpChem1
Title: Re: Feature Request - Import/Export Replace/Swap lists
Post by: Watermark_JS on November 08, 2022, 06:04:25 PM
  :o  We tried that and got an error (don't remember what) -- so started going the long way 'round.  Definitely going to try it again in the morning.  Maybe we had a typo when we tried before and didn't notice it.   :-\
Title: Re: Feature Request - Import/Export Replace/Swap lists
Post by: franji1 on November 09, 2022, 09:40:21 AM
  :o  We tried that and got an error (don't remember what) -- so started going the long way 'round.  Definitely going to try it again in the morning.  Maybe we had a typo when we tried before and didn't notice it.   :-\

There were issues related REPLACE with STRUCTUREs that have been fixed in 2.9.4.  If you are using an older version of Designer, that may have been what you saw.  Hopefully, 2.9.4 will do what you need (simpler MyStruct0 with MyStruct1 w/Match Exactly UNchecked).
Title: Re: Feature Request - Import/Export Replace/Swap lists
Post by: Watermark_JS on November 10, 2022, 11:08:38 AM
Looks like it was either a version issue or, possibly, we had "Match Exactly" checked.  At any rate, it's great now.  Huge time saver.  Thanks!