Checking the linked cloud model

Hi all

I’m working in a project heavily focused in cloud models in ACC. The models are shared between multiple companies and I’m the person responsible to review the quality of the models.
One of the things that I would like to check is the path type of the linked revit files. The path type shall be “cloud”, as we need it to see the federated model in the ACC viewer.
I’m trying to implement this check in the general audit .dyn I’m creating, but I’m having issues to identify the cloud links. In the example, with two cloud links and two absolute links the node only shows the absolute links:


Is there a way to identify the “cloud” path types in dynamo?

Thank you in advance

Think you will need to get into the Revit API on this one.

From the ElementType, try to get the ExternalFileReference.
This might do the trick: GetExternalFileReference Method

That will allow you to pull the model path, with this method: GetPath Method

And then you can ask if that path is a cloud path:

Thank you Jacob

I’m assuming this works creating a script in the python script tool.
Unfortunately this is way out of my league in terms of programming knowledge, witch is 0 out of the visual nodes in dynamo.

Maybe someone knows a custom package that can work for this

It’s pretty easy as far as first functional uses go; check the Dynamo Python Primer, and you can likely build it yourself in a half day or so.

With the help of your sources I managed to found the " Element.ExternalFileReferencePath.py" from Clockwork that I used in the previous example.

If I change the GetAbsolutePath to GetCloudModelPath it only gives me nulls: