I have set a subroutine with a custom 3d object which it shows as it should in 3D, the problem starts when I use a For_To_Next operation, the 3D object disappears totally.
If I use a more simple object the For_To_next works.
Calling the subroutine alone it works:
When For_To_Next is enable, nothing shows:
If I use exactly the same For_To_Next with a simple block object, it works:
I'm clueless about what is happening.
Try to use quotation marks for the subroutine id ("400"). This is just a wild guess.
| Archicad 4.55 - 26
| HP Z840 | 2× E5-2643 v4 | 64 GB RAM | Quadro M5000 | Windows 10 Pro x64
| HP Z4 G4 | W-2245 | 64 GB RAM | RTX A4000 | Windows 11
`gosub 400` (which is totally valid!) and `gosub "400"` are different things, tho.
And what makes this unlikely is that the single `gosub 400` outside the loop works.
As mentioned, without the whole script everybody is blind.
I just tried by putting the BLOCK in a subroutine and that worked fine.
So I would suspect something in the 400 subroutine.
Did you forget the RETURN maybe?