I would like to access the sheet number of a "View view," with the Revit API. I have tried to search for the parameter belonging to a view however it is not listed as a parameter by intellisense. I can see in a document or project that it is a read only sheet number parameter.
foreach (Element elem in collection)
{
View view = elem as View;
if (view.ViewType == ViewType.FloorPlan)
{
using (Transaction transView = new Transaction(doc, "Set Param"))
{
transView.Start();
int testScale = 100;
//set the scale of the view
view.Scale = testScale;
//get the name of the view
message += "\nView name: " + view.ViewName;
message += "\nScale after set: " + view.Scale;
transView.Commit();
}
}