ZBrushCentral

Error messages appear broken

Hi,

Error messages when making scripts use to appear broken, like this:
x2scrap

Has this a solution, or does ZBrush have an error log for this somewhere from which to read the full text?

Thanks! :slight_smile:

hi @Jordi_R_Cardona ,
it just mean you are passing not enought parameter when you call your routine, or it also can be a syntax error.

[routinedef, sum,
    [varset, result, a+b]
a, b, result]
[VarSet, result, -1]
[RoutineCall, sum, 5, 10]

the routine need 3 parameters/arguments then you just pass less than the minimum
so in my code i only pass two parameter a and b, but not result.
proper code would be :

[routinedef, sum,
    [varset, result, a+b]
a, b, result]
[VarSet, result, -1]
[RoutineCall, sum, 5, 10, result]

if it’s not that, then it probably a missing ].

Hope it helps!
Nicolas

Sorry maybe I did not explain well. Your explanation is very good, but I was not asking about what that error means.

It was just an example. The problem is that I can’t read the full error messages in general.

I mean, that at least in my computer, the error messages appear truncated:

“the number of inputs…”

and you can’t read the full phrases.

So sometimes it’s hard to know what is the error.

Is there a way to read the full phrase and info of an error, or there is an error log file somewhere?

Thanks!

then i would say welcome to Zscripting where the grass is green but the error messages are trunky :guitar: :rofl:

1 Like

Ok lol! Well, no worries! :slight_smile: