In fact, the SNP have distanced themselves from their Catalan brethren.The parochial view is all well and good but while I may be wrong, my impression is that the idea being promoted is that the day after I Day then Scotland would automatically enter the EU with all those glorious susidies.
That's not how it works. There would need to be a period of application which could be lengthy while the Scots economy slides further down.
The worry in some EU countries like Spain is how to compensate for the loss of a contributing country after Brexit.
This has come as a nasty surprise to those countries who counted on being net receivers for some time to come and have had to face a reduction in what they get. A new net receiver might not be welcomed with open arms.
Secondly, as noted before, Spain will fight tooth and nail against taking in a country that has declared independence from the State. There is no way they will give support to anything that could aid the cause of Catalan Independence. Their veto may count as Spain's status as a big country in the EU has risen after Brexit. While the Spanish economy is a disaster their political support for EU policies may well prove important and so a quid pro quo could come into play. Scotland may find themselves outside with the way in blocked.
I imagine that isn't common gossip in the SNP as it won't fit the received wisdom.