Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm trying to automatically OpenAndActivate a cloud model. Given I need to access UIApplication I am doing it via UIControlledApplication.Idling event.
The command works fine when I open a local Revit model. However when I open a cloud model I am left with the following dialog 'Open Model' indefinitely and I have no option but to kill the Revit session.
I am opening the cloud model using the following:
Dim modelPath As ModelPath = ModelPathUtils.ConvertCloudGUIDsToCloudPath(If(region, ModelPathUtils.CloudRegionUS), ' Default to US region if not provided
New Guid(projectGUID),
New Guid(modelGUID)
)
Dim openOptions As New OpenOptions()
Dim objUIdocument As UIDocument = uiApp.OpenAndActivateDocument(modelPath, openOptions, False)
Any ideas?
Solved! Go to Solution.