Error using classic problemtype in GiD14
Posted: Sun May 12, 2019 3:08 am
Hi,
Using GiD14 and a classic problemtype we have used for many years for opensees we are getting the following error in the .bas file:
ERROR MESSAGE
==============
Error in base file 'C:/Program Files/GiD/GiD 14.0.2/problemtypes/UWGiDproblemTypes/UWquad2D_TVA.gid/UWquad2D_TVA.bas' at line number 90: Error in Conditions data.
Command:cond must be a char
Error in 'strcmp' or 'strcasecmp'.
Error in base file 'C:/Program Files/GiD/GiD 14.0.2/problemtypes/UWGiDproblemTypes/UWquad2D_TVA.gid/UWquad2D_TVA.bas' at line number 90: Error into an *if expression
Relevant part of UWquad2D_TVA.bas file
===================================
...
*loop nodes
*set Cond EqualDOF_01_on_lines *nodes
*add Cond EqualDOF_01_on_nodes *nodes
*if(strcmp(cond(1),"master")==0)
*set var mstrY(real) = NodesCoord(2,real)
*set var mstrNode(int) = NodesNum(int)
...
Any comment that could guide us on what is the problem??
This works well in GiD13
Thanks
Pedro
Using GiD14 and a classic problemtype we have used for many years for opensees we are getting the following error in the .bas file:
ERROR MESSAGE
==============
Error in base file 'C:/Program Files/GiD/GiD 14.0.2/problemtypes/UWGiDproblemTypes/UWquad2D_TVA.gid/UWquad2D_TVA.bas' at line number 90: Error in Conditions data.
Command:cond must be a char
Error in 'strcmp' or 'strcasecmp'.
Error in base file 'C:/Program Files/GiD/GiD 14.0.2/problemtypes/UWGiDproblemTypes/UWquad2D_TVA.gid/UWquad2D_TVA.bas' at line number 90: Error into an *if expression
Relevant part of UWquad2D_TVA.bas file
===================================
...
*loop nodes
*set Cond EqualDOF_01_on_lines *nodes
*add Cond EqualDOF_01_on_nodes *nodes
*if(strcmp(cond(1),"master")==0)
*set var mstrY(real) = NodesCoord(2,real)
*set var mstrNode(int) = NodesNum(int)
...
Any comment that could guide us on what is the problem??
This works well in GiD13
Thanks
Pedro