albandechasteigner / GeniusLociForDynamo

Genius Loci is a package of 350+ custom nodes for Dynamo in Revit.
MIT License
45 stars 10 forks source link

3D view collector seems to not get 3d views from any docs opened in the background #14

Closed jkwon126 closed 2 years ago

jkwon126 commented 2 years ago

When 3D View Collector is used on documents opened with Applications.OpenDocumentFile (from Rhythm), it gets 3d Views from current open doc as many times as there are input documents, instead of getting 3d Views from each input document.

3dview collector issue

albandechasteigner commented 2 years ago

Hi, The 3DView Collector node is working fine but there have been changes in the Rhythm package which now returns Dynamo document objects (Revit.Application.Document) and no longer documents usable directly by calls to the Revit API (Autodesk.Revit.DB.Document). Add the Documents.DynamoDocumentToDbDocument node to convert the documents. Views 3D

jkwon126 commented 2 years ago

Thank you so much for taking your time to explain where I went wrong.

On Mon, Sep 26, 2022 at 5:32 PM Alban de Chasteigner < @.***> wrote:

Hi, The 3DView Collector node is working fine but there have been changes in the Rhythm package which now returns Dynamo document objects (Revit.Application.Document) and no longer documents usable directly by calls to the Revit API (Autodesk.Revit.DB.Document). Add the Documents.DynamoDocumentToDbDocument node to convert the documents. [image: Views 3D] https://user-images.githubusercontent.com/67761287/192374032-e89da7c6-8116-4630-99e4-2de69ae3d551.png

— Reply to this email directly, view it on GitHub https://github.com/albandechasteigner/GeniusLociForDynamo/issues/14#issuecomment-1258600168, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKFU4DYU73EMKV2GNIHJDIDWAIB4RANCNFSM6AAAAAAQV44QCU . You are receiving this because you authored the thread.Message ID: @.***>

-- Jae H. Kwon Technical Consultant SolidCAD/Cansel @.***