Bad integer format

Moderator: GiD Team

Post Reply
kstn
Posts: 41
Joined: Wed Jan 21, 2015 2:03 pm

Bad integer format

Post by kstn »

Hello

I encounter a problem when writing all the nodes belong to a condition

the code in bas file:

Code: Select all

*set cond Surface_Group_Membership *nodes *canRepeat
*loop nodes *OnlyInCond
    node_groups['*cond(Group_Name)'].append( *NodesNum )
*end nodes
Executing this gives an error: Error in basefile ... at line number 154: Bad Integer format

However, if the bas file is modified a bit, this error goes away

Code: Select all

*set cond Surface_Group_Membership *nodes *canRepeat
*loop nodes *OnlyInCond
    *cond(Group_Name) is touched
    node_groups['*cond(Group_Name)'].append( *NodesNum )
*end nodes
Of course, this is not what I want
Is it a bug, or something wrong anyway?
User avatar
escolano
Posts: 1918
Joined: Sun Sep 05, 1982 10:51 pm

Re: Bad integer format

Post by escolano »

I have tried it with Gid 12.1.10d Windows x32 and in my test worked well.

I have used this problemtype:
kstn.zip
(1.35 KiB) Downloaded 320 times
and this small example:
test_kstn.zip
(4.25 KiB) Downloaded 318 times
and the result was ok: (the file test_kstn.dat of the example)

If your problem persist with an updated version of GiD attach your problemtype and model.
kstn
Posts: 41
Joined: Wed Jan 21, 2015 2:03 pm

Re: Bad integer format

Post by kstn »

The problem still persists. In the attached file you can find the files to reproduce the problem.
kstn.gid.tar.gz
(691 Bytes) Downloaded 341 times
cube.gid.tar.gz
(11.33 KiB) Downloaded 360 times
Post Reply