Uh - i didn't see your code before...certainly looks like either you're spelling your B3d filename wrong or it quite simply is not in the same directory as your code file...try giving the loadmesh command the full path to you B3d file like "c:\blitz\spampants\sphere.b3d"