Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 66755

Re: multistorey stair subements

$
0
0

Dear Paul,

 

Here is a sample code snippet:

 

  ICollection<ElementId> runIds = stairs.GetStairsRuns();
  foreach (ElementId runId in runIds)
  {
    StairsNumberSystemReferenceOption option
      = StairsNumberSystemReferenceOption.LeftQuarter;
    LinkElementId hostId = new LinkElementId(runId);
    LinkElementId linkedLevelId = new LinkElementId(level.Id);
    NumberSystem.Create(RevitDoc,
      level.FindAssociatedPlanViewId(), hostId, option,
      linkedLevelId);
  }

 

I hope this helps.

 

Cheers,

 

Jeremy

 


Viewing all articles
Browse latest Browse all 66755

Trending Articles