As you can see, there is the “parameter.storagetype” function that is giving the warning.
from my understanding, dynamo is trying to figure out which node that is (from the warning we can get its either the: “Revit.elements.parameter”, or “archilab.revit.elements.paramter”.)
why is not dynamo going with the first one?
im assuming this happened because when the scripter created the script he did that at an earlier version of dynamo, is that correct? if not what could be the cause of such a problem?
you have archilab package installed in dynamo, so dynamo can’t figure out what to run. You can retrieve the storage type through accessing the attribute “StorageType”. It looks like this.
If i remember correctly you’ll have to add “Revit.” In front of the command or “Designscript.”, or both. Don’t have a pc on hand to check this right now but maybe you can find some similar stuff on the forum if that doesnt work
Of course, a lot comes with expirience. Here we are wokring with object-oriented languages and that’s why we should consider every element as an object that has some attributes (like X, Y, Z coordinates in a point) which can be retrieved using “.”. For example, there is the term “encapsulation”. It blocks access to attributes due to increasing system security, but it is not this case.
Coming back to your block, you need to rewrite the first line something like this