Default Revit 3D View in Docs

Default Revit 3D View in Docs

tkeyser5
Advocate Advocate
5,108 Views
8 Replies
Message 1 of 9

Default Revit 3D View in Docs

tkeyser5
Advocate
Advocate

All lights display in my Composite model uploaded to DocsAll lights display in my Composite model uploaded to Docs

 

What 3D view does 360 Docs use for the 3D view under Project Files? This makes no sense to me. My Revit 3D views show everything. When I upload this Revit file and go to Project files 3D View, none of my lights display. However, I also created a composite Revit model (with linked arch, mech, and stru files) that I uploaded to Docs. That 3D view displays everything. Interesting that everything shows in my Composite model before and after posting to docs. So what's the deal? What does Docs use for the 3D view? Can this not be controlled?Electrical 3D view in 360 DocsElectrical 3D view in 360 DocsElectrical 3D view in RevitElectrical 3D view in Revit

0 Likes
5,109 Views
8 Replies
Replies (8)
Message 2 of 9

jayson.sterba
Alumni
Alumni

hi @tkeyser5

 

If you don't set a view to be published, under publish settings then the default 3D view will be used.

If you don't have any 3D views in the model, then it will preview one that looks just like it would if in revit you hit View->3D View->Default 3D View.

If you want a specific view to show in Revit, do the following: 

 

  • Create 3D view
  • Name it for instance "BIM 360 View 1"
  • Adjust the view to the perspective
  • Under Collaborate Panel on the Ribbon select "Publish settings"
  • Make sure a Set AND the desired View both have a check next to the left of their name selected then
  • Hit Save and close
  • Save / Synch Your model
  • Then use manage cloud models to publish the model to BIM 360 (including the newly selected view) 
    • Pubish latest 

You should see that the desired view is now the one that is being published to BIM 360 docs. 


Jayson Sterba
Customer Programs Manager, Preconstruction
Message 3 of 9

jayson.sterba
Alumni
Alumni

hi @tkeyser5 ,

 

I wanted to follow up with you today and see if you had the opportunity to review my post from Monday. Do you have any questions or need anything clarified?

 

Happy to help!


Jayson Sterba
Customer Programs Manager, Preconstruction
0 Likes
Message 4 of 9

SVC_DPRForgeApps
Explorer
Explorer

Hi, Jayson

Two quick questions regarding this,

1. When the revit engine generate default 3D view, does it include all the elements inside the model? even those are set as hidden in some other views? 

2. Will this following code generate view with all the elements

private void CreateDefault3DView(Document doc)
{
    var direction = new XYZ(-1, 1, -1);
    var collector = new FilteredElementCollector(doc);
   var viewFamilyType = collector.OfClass(typeof(ViewFamilyType)).Cast<ViewFamilyType>()
   .FirstOrDefault(x => x.ViewFamily == ViewFamily.ThreeDimensional);

   using (Transaction ttNew = new Transaction(doc, "abc"))
   {
       ttNew.Start();
      var newView3D = View3D.CreateIsometric(doc, viewFamilyType.Id);
      newView3D.SetOrientation(new ViewOrientation3D(
      direction, new XYZ(0, 1, 1), new XYZ(0, 1, -1)));
      ttNew.Commit();
   }

}

 

Thanks

Helen

Message 5 of 9

johan_van_mol
Enthusiast
Enthusiast

@jayson.sterba 


You should see that the desired view is now the one that is being published to BIM 360 docs. 

When I publish multiple Revit 3D views to Docs, Docs chooses 1 view to always show first when the model is opened in the Docs viewer.  This is not the first one in the list.  How can I change/control this?

 

johan_van_mol_0-1699873433411.png

 

0 Likes
Message 6 of 9

Jeremy_Register
Participant
Participant

I would also like to know how doc choose the 3D view it opens when multiple views have been published? Can't this be changed to a desired view?

Message 7 of 9

Chad-Smith
Advisor
Advisor

This is quite a common problem, even if models are configured correctly. Earlier this year I created the following Idea to try and address it.

ACC Docs // Revit models need a default 'Project Model' view

0 Likes
Message 8 of 9

RMizeF4ZN2
Observer
Observer

Go into revit and rename the view that is being used as the default view in ACC Build.

Use a name that puts it at the top of the list. I prefer using an "!"

Then in revit set the view up how you want it to appear in ACC Build.

3 hours of my life boiled down to 3 short lines of text. sigh, Revit...

RMizeF4ZN2_0-1704936345140.png

 

Message 9 of 9

johan_van_mol
Enthusiast
Enthusiast

@RMizeF4ZN2: thank you for sharing this workaround.

 

My problem was:

  • I have multiple 3D views in Revit
    • One that shows all elements
    • One that only shows walls <===
    • One that only shows floors
    • ...
  • For some obscure reason, ACC Docs chooses to show this random view:
    • One that only shows walls <===

Using your workaround, I can change and rename the view that is now used by ACC Docs.

But actually: I would rather:

  1. Know the logic behind this: why does ACC Docs choose a certain view?
  2. How can I change/choose the view that is used by ACC Docs.

I hope that someone (an Autodesk employee?) can clarify this.