Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Assembly ViewSheet grouped under Assembly

1 REPLY 1
SOLVED
Reply
Message 1 of 2
RickyBell
549 Views, 1 Reply

Assembly ViewSheet grouped under Assembly

Following these instructions:  http://help.autodesk.com/view/RVT/2014/ENU/?guid=GUID-48DFC75D-66DC-434C-B592-D60D40E29348

 

I'm able to create assemblies, views, and viewsheets.  My issue is that the ViewSheet appears under Sheets and not in the Assembly's folder under assemblies.  Can the location of the ViewSheet be changed on creation?  Can the name of a ViewSheet be changed on creation?

 

Thanks!

1 REPLY 1
Message 2 of 2
RickyBell
in reply to: RickyBell

I answered my own question.  The difference was between adding a generic sheet and an assembly sheet.  

 

I changed this:  ViewSheet viewSheet = ViewSheet.Create(doc, familyList.First().Id);

 

To this:  ViewSheet viewSheet = AssemblyViewUtils.CreateSheet(doc, assemblyInstance.Id, familyList.First().Id);

 

Hope this helps someone other than me.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community