# encoding: utf-8
# module Autodesk.Revit.UI.Mechanical calls itself Mechanical
# from RevitAPIUI,Version=17.0.0.0,Culture=neutral,PublicKeyToken=null
# by generator 1.145
# no doc
# no imports

# no functions
# classes

class DuctFittingAndAccessoryPressureDropUIData(object,IDisposable):
 """ The input and output data used by external UI servers for storing UI settings. """
 def Dispose(self):
  """ Dispose(self: DuctFittingAndAccessoryPressureDropUIData) """
  pass
 def GetUIDataItems(self):
  """
  GetUIDataItems(self: DuctFittingAndAccessoryPressureDropUIData) -> IList[DuctFittingAndAccessoryPressureDropUIDataItem]

  

   Gets all UI data items stored in the UI data.

   Returns: An array of UI data items.
  """
  pass
 def GetUnits(self):
  """
  GetUnits(self: DuctFittingAndAccessoryPressureDropUIData) -> Units

  

   Gets units.

   Returns: The Units object.
  """
  pass
 def ReleaseUnmanagedResources(self,*args):
  """ ReleaseUnmanagedResources(self: DuctFittingAndAccessoryPressureDropUIData,disposing: bool) """
  pass
 def __enter__(self,*args):
  """ __enter__(self: IDisposable) -> object """
  pass
 def __exit__(self,*args):
  """ __exit__(self: IDisposable,exc_type: object,exc_value: object,exc_back: object) """
  pass
 def __init__(self,*args):
  """ x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
  pass
 def __repr__(self,*args):
  """ __repr__(self: object) -> str """
  pass
 IsValidObject=property(lambda self: object(),lambda self,v: None,lambda self: None)
 """Specifies whether the .NET object represents a valid Revit entity.



Get: IsValidObject(self: DuctFittingAndAccessoryPressureDropUIData) -> bool



"""



class DuctFittingAndAccessoryPressureDropUIDataItem(object,IDisposable):
 """ Each duct fitting or duct accessory FamilyInstance has one DuctFittingAndAccessoryPressureDropUIDataItem. """
 def Dispose(self):
  """ Dispose(self: DuctFittingAndAccessoryPressureDropUIDataItem) """
  pass
 def GetDuctFittingAndAccessoryData(self):
  """
  GetDuctFittingAndAccessoryData(self: DuctFittingAndAccessoryPressureDropUIDataItem) -> DuctFittingAndAccessoryData

  

   Gets the fitting data stored in the UI data item.

   Returns: The fitting data stored in the UI data item.
  """
  pass
 def GetEntity(self):
  """
  GetEntity(self: DuctFittingAndAccessoryPressureDropUIDataItem) -> Entity

  

   Returns the entity set by UI server.

     or an invalid entity otherwise.

   Returns: The returned Entity.
  """
  pass
 def ReleaseUnmanagedResources(self,*args):
  """ ReleaseUnmanagedResources(self: DuctFittingAndAccessoryPressureDropUIDataItem,disposing: bool) """
  pass
 def SetEntity(self,entity):
  """
  SetEntity(self: DuctFittingAndAccessoryPressureDropUIDataItem,entity: Entity)

   Stores the entity in the UI data item.

  

   entity: The Entity to be stored.
  """
  pass
 def __enter__(self,*args):
  """ __enter__(self: IDisposable) -> object """
  pass
 def __exit__(self,*args):
  """ __exit__(self: IDisposable,exc_type: object,exc_value: object,exc_back: object) """
  pass
 def __init__(self,*args):
  """ x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
  pass
 def __repr__(self,*args):
  """ __repr__(self: object) -> str """
  pass
 IsValidObject=property(lambda self: object(),lambda self,v: None,lambda self: None)
 """Specifies whether the .NET object represents a valid Revit entity.



Get: IsValidObject(self: DuctFittingAndAccessoryPressureDropUIDataItem) -> bool



"""



class IDuctFittingAndAccessoryPressureDropUIServer(IExternalServer):
 """ Interface for external servers providing optional UI for duct fitting and duct accessory coefficient calculation. """
 def GetDBServerId(self):
  """
  GetDBServerId(self: IDuctFittingAndAccessoryPressureDropUIServer) -> Guid

  

   Returns the Id of the corresponding DB server for which this server provides an 

    optional UI.

  

   Returns: The Id of the DB server.
  """
  pass
 def ShowSettings(self,data):
  """
  ShowSettings(self: IDuctFittingAndAccessoryPressureDropUIServer,data: DuctFittingAndAccessoryPressureDropUIData) -> bool

  

   Shows the settings UI.

  

   data: The input data of the calculation.

   Returns: True if the user makes any changes in the UI,false otherwise.
  """
  pass
 def __init__(self,*args):
  """ x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
  pass

