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!
Solved! Go to Solution.
Solved by RickyBell. Go to Solution.
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.