Is the word "path" used in the same way in the following two sentences?

The hurricane demolished houses in its path.

Genius usually follows a revolutionary path.
different meanings