Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unrecoverable error" If Add-In used Code Check Framework dll #31

Open
gopsur1975 opened this issue Apr 8, 2015 · 0 comments
Open

unrecoverable error" If Add-In used Code Check Framework dll #31

gopsur1975 opened this issue Apr 8, 2015 · 0 comments

Comments

@gopsur1975
Copy link

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

  1. 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..
missing third party updater

journal error

StorageDocument is Null (if load the code check from debug location of RevitTestFramework folder)

  1. 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant