ExternalResourceReference

Hello, i’m trying to create a new link inside a Cloud model, but the method RevitLinkType.Create needs a ExternalResourceReference that I don’t know how to get this.
image

I am trying to modify the Morpheus node and this line

mpu = ModelPathUtils.ConvertUserVisiblePathToModelPath(fpath)

needs to be changed to a externalreference

Thanks a lot
teste de external link revit.dyn (13.0 KB)