Revit.SDK.Samples.DoorSwing.CS.DoorSwingData.DoorSwingData C# (CSharp) Method

DoorSwingData() static private method

fill OpeningTypes static member variable.
static private DoorSwingData ( ) : System
return System
        static DoorSwingData()
        {
            // fill door's opening types. User can modify the DoorSwingResource according to
             // how he wants to identify the Left, Right or others opening information.
             OpeningTypes.Clear();

             // Undefined means this door family is insensible of door opening feature.
             // User didn't add the relevant parameters or just gave an invalid value.
             OpeningTypes.Add(DoorSwingResource.Undefined);
             OpeningTypes.Add(DoorSwingResource.LeftDoor);
             OpeningTypes.Add(DoorSwingResource.RightDoor);
             OpeningTypes.Add(DoorSwingResource.TwoLeaf);
             OpeningTypes.Add(DoorSwingResource.TwoLeafActiveLeafLeft);
             OpeningTypes.Add(DoorSwingResource.TwoLeafActiveLeafRight);
        }

Same methods

DoorSwingData::DoorSwingData ( Autodesk app ) : System