Hi,
When I create a table in my .prb file, automatically a botton is created to represent the entered data, I would like to know how to prevent that botton from appearing.
Thank you in advance
Search found 8 matches
- Tue Jun 30, 2020 10:35 am
- Forum: Customization
- Topic: PLOT BUTTON
- Replies: 1
- Views: 2990
- Thu Jan 16, 2020 6:51 pm
- Forum: Customization
- Topic: CALL TABLE FROM *.prb
- Replies: 3
- Views: 10571
Re: CALL TABLE FROM *.prb
Ok, I found the way:
*set var nrows=operation(GenData(Sediment_classes,INT)/5)
number of cols=5, number of rows=*nrows
*end
*for(i=2;i<=5;i=i+1)
*for(j=0;j<=(nrows-1);j=j+1)
*set var pos=operation(j*5+i)
*GenData(Sediment_classes,*pos,real) *\
*end for
*end for
Thank you anyway
*set var nrows=operation(GenData(Sediment_classes,INT)/5)
number of cols=5, number of rows=*nrows
*end
*for(i=2;i<=5;i=i+1)
*for(j=0;j<=(nrows-1);j=j+1)
*set var pos=operation(j*5+i)
*GenData(Sediment_classes,*pos,real) *\
*end for
*end for
Thank you anyway
- Thu Jan 16, 2020 5:09 pm
- Forum: Customization
- Topic: CALL TABLE FROM *.prb
- Replies: 3
- Views: 10571
Re: CALL TABLE FROM *.prb
No, that isn't my problem, I'll try to be more clear: In the interface the user inserts a table of data e.g. this: 1 , 0.5 , 0.6 , 8, 25 2 , 4 , 8 , 10 , 0.1 So, when I use the *bas file to write the .dat I call that table from the problem type with this code: *set var INS(int)=GenData(Sediment_clas...
- Fri Jan 03, 2020 12:26 am
- Forum: Customization
- Topic: CALL TABLE FROM *.prb
- Replies: 3
- Views: 10571
CALL TABLE FROM *.prb
Hello, I want to call a table of data from de *.prb and write the rows as columns so I wrote this code: *if(strcmp(GenData(Mixture_model),"One_NON-Cohesive_layer")==0) *set var INS(int)=GenData(Sediment_classes,int) *set var PASO=5 *for(i=1;i<=INS(int);i=i+PASO) *GenData(Sediment_classes,*...
- Tue Dec 03, 2019 12:07 pm
- Forum: Customization
- Topic: INITIAL CONDITION USING A TABLE
- Replies: 1
- Views: 9049
INITIAL CONDITION USING A TABLE
Good morning, I would like to implement an initial condition window on a surface as follows: The objective is to assign a number of soil types (given by the user). It is about assigning to a surface, for example, 3 soils (soil A is present in 30%, B is 40% and C 30%) this % information is also given...
- Tue Nov 26, 2019 2:20 pm
- Forum: Customization
- Topic: IMAGE IN A DATA WINDOW
- Replies: 1
- Views: 9282
IMAGE IN A DATA WINDOW
Good morning,
When I insert an image in a data window it appears at the top of the window, however I would like to know if there is a way to include spaces or make it appear in a lower area (next to the command that makes it appear).
Thank you very much in advance.
When I insert an image in a data window it appears at the top of the window, however I would like to know if there is a way to include spaces or make it appear in a lower area (next to the command that makes it appear).
Thank you very much in advance.
- Tue Oct 29, 2019 12:04 am
- Forum: Customization
- Topic: PROBLEM WITH DEPENDENCIES (.prb)
- Replies: 2
- Views: 7323
Re: PROBLEM WITH DEPENDENCIES (.prb)
Thank you for your answer, it was very helpfull. I've done it as you said and I solved the problem.
Best regards.
Best regards.
- Thu Oct 17, 2019 5:21 pm
- Forum: Customization
- Topic: PROBLEM WITH DEPENDENCIES (.prb)
- Replies: 2
- Views: 7323
PROBLEM WITH DEPENDENCIES (.prb)
Hello, My problem is in the *.prb, I need to create a question that has to depend on two other questions, that is if and only if questions A and B are activated, question C is activated and field C appears in the interface. The problem is that I cannot establish this double dependency. properly and ...