victorkemp / Mecway

Not the source code
3 stars 0 forks source link

Named tables #8

Closed german-bresciano closed 1 year ago

german-bresciano commented 1 year ago

It would be good if tables may be given different names and also having a checkbox for "use tablename.csv as file name" in the table dialog.

SergioP1975 commented 1 year ago

Also a selector in the table dialog to select saved tables. Very often they are used for several loads.

german-bresciano commented 1 year ago

Or the name may be followed by the name of the configuration.

Saludos,

Germán Bresciano


De: SergioP1975 @.> Enviado: Monday, July 3, 2023 8:28:08 AM Para: victorkemp/Mecway @.> Cc: Germán Bresciano @.>; Author @.> Asunto: Re: [victorkemp/Mecway] Named tables (Issue #8)

Also a selector in the table dialog to select saved tables. Very often they are used for several loads.

— Reply to this email directly, view it on GitHubhttps://github.com/victorkemp/Mecway/issues/8#issuecomment-1618011321, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BA6TCGBH26B2ALME7OKNAVTXOKUERANCNFSM6AAAAAAZ3SFSXY. You are receiving this because you authored the thread.Message ID: @.***>

victorkemp commented 1 year ago

Version 22 will have named tables.

@SergioP1975 can you clarify what you mean by "Also a selector in the table dialog to select saved tables. Very often they are used for several loads."?

@german-bresciano I'm still thinking about the automatic filename. So far, table names are going to be optional so using them for the filename would be odd if there isn't a name. Perhaps table names should be required (defaulting to Table, Table(2), etc.) and have an option for automatic filename which is \<table name>_\<configuration name>.csv if there are multiple configurations or just \<table name>.csv if there's only one?

german-bresciano commented 1 year ago

That would be great.

SergioP1975 commented 1 year ago

@victorkemp Imagine the case that you define a complex amplitude and want to use in differente loads, one could then re-use the same amplitude.

victorkemp commented 1 year ago

@SergioP1975 Oh, looks like you're talking about the tables for defining time-dependent loads, and German is referring to the tables for showing solution data. I'll make a separate issue for that.

victorkemp commented 1 year ago

Rather than a fixed filename option, I've added two new symbols you can put in filenames - \<t> which is replaced by the table's name and \<c> which is replaced by the configuration name. The latter allows you to use a single table to output a separate file for each configuration. This will be in v22.