| MultistoryStairsPin Method | 
   Restores an unpinned stairs element back into the group of stairs governed by level height.
Namespace: Autodesk.Revit.DB.ArchitectureAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
 Syntax
Syntaxpublic Stairs Pin(
	ElementId levelId
)
Public Function Pin ( 
	levelId As ElementId
) As Stairs
public:
Stairs^ Pin(
	ElementId^ levelId
)
member Pin : 
        levelId : ElementId -> Stairs Parameters
- levelId  ElementId
- 
   The base level id.
   If the level id belongs to the base level of an individual pinned stairs, it returns the stairs id directly.
Return Value
Stairs
   The stairs element which the pinned story belongs to.
 Exceptions
Exceptions Remarks
Remarks
   If the level height of current story can be found among other stories, the stair will be added back into the group;
   Otherwise only the status will be changed to "pinned".
 See Also
See Also