BuildingCoder.YBExporteContext._get2DRepresentation C# (CSharp) Method

_get2DRepresentation() private method

private _get2DRepresentation ( Element element ) : GeometryElement
element Element
return GeometryElement
        private GeometryElement _get2DRepresentation(
            Element element)
        {
            View view = this._get2DViewForElement( element );
              if( view == null )
            return null;

              Options options = new Options();
              options.View = view;
              return element.get_Geometry( options );
        }