You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we launch Revit structure explicitly, it will load all code check dlls from from above location with our Revit Add-in dll without any issue. But when revitTestFrameowrk launch Revit structure, it doesn't load any code check dlls and give error as "unrecoverable error".
Missing Third party updater
2. When we opening job from [TestModel] its shows Missing Third party updater and show our Updater class name which have been used in our Revit-Add-in dll..
StorageDocument is Null (if load the code check from debug location of RevitTestFramework folder)
CodeSample
[Test]
[TestModel(@"./Example04withresults.rvt")]
public void UpdateRebarAndExpectedRebarCount()
{
Autodesk.Revit.DB.CodeChecking.Storage.StorageService service = Autodesk.Revit.DB.CodeChecking.Storage.StorageService.GetStorageService();
Assert.IsNotNull(service,"service is null"); //Success
//Autodesk.Revit.DB.CodeChecking.Storage.StorageDocument storageDocument = service.GetStorageDocument(DocumentManager.Instance.CurrentUIDocument);
//Assert.IsNotNull(storageDocument, "storageDocument is null"); //Fail
}
The above code is works if we use through our Revit-Addin.
The text was updated successfully, but these errors were encountered:
Hi
We have created one DLL for Revit Add-in and DLL is based Code check framework(Structural Analysis Toolkit 2015) https://apps.exchange.autodesk.com/RVT/en/Detail/Index?id=appstore.exchange.autodesk.com%3Astructuralanalysistoolkit2015_windows64%3Aen
The structural analysis DLLs are located in C:\ProgramData\Autodesk\ApplicationPlugins..
We found couple issue as below
Structural Toolkit dll not loaded
Missing Third party updater

2. When we opening job from [TestModel] its shows Missing Third party updater and show our Updater class name which have been used in our Revit-Add-in dll..
StorageDocument is Null (if load the code check from debug location of RevitTestFramework folder)
[Test]
[TestModel(@"./Example04withresults.rvt")]
public void UpdateRebarAndExpectedRebarCount()
{
Autodesk.Revit.DB.CodeChecking.Storage.StorageService service = Autodesk.Revit.DB.CodeChecking.Storage.StorageService.GetStorageService();
Assert.IsNotNull(service,"service is null"); //Success
//Autodesk.Revit.DB.CodeChecking.Storage.StorageDocument storageDocument = service.GetStorageDocument(DocumentManager.Instance.CurrentUIDocument);
//Assert.IsNotNull(storageDocument, "storageDocument is null"); //Fail
}
The above code is works if we use through our Revit-Addin.
The text was updated successfully, but these errors were encountered: