当前位置: 首页>>代码示例>>C#>>正文


C# IFCFile.CreateAirTerminalType方法代码示例

本文整理汇总了C#中IFCFile.CreateAirTerminalType方法的典型用法代码示例。如果您正苦于以下问题:C# IFCFile.CreateAirTerminalType方法的具体用法?C# IFCFile.CreateAirTerminalType怎么用?C# IFCFile.CreateAirTerminalType使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在IFCFile的用法示例。


在下文中一共展示了IFCFile.CreateAirTerminalType方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: ExportGenericTypeBase

 /// <summary>
 /// Exports IFC type base implementation.
 /// </summary>
 /// <param name="file">The IFC file.</param>
 /// <param name="type">The export type.</param>
 /// <param name="ifcEnumType">The string value represents the IFC type.</param>
 /// <param name="guid">The guid.</param>
 /// <param name="ownerHistory">The owner history handle.</param>
 /// <param name="name">The name.</param>
 /// <param name="description">The description.</param>
 /// <param name="applicableOccurrence">The optional data type of the entity.</param>
 /// <param name="propertySets">The property sets.</param>
 /// <param name="representationMapList">List of representations.</param>
 /// <param name="elemId">The element id label.</param>
 /// <param name="typeName">The IFCPlacementSetter.</param>
 /// <param name="instance">The family instance.</param>
 /// <param name="symbol">The element type.</param>
 /// <returns>The handle.</returns>
 private static IFCAnyHandle ExportGenericTypeBase(IFCFile file,
    IFCExportType type,
    string ifcEnumType,
    IFCLabel guid,
    IFCAnyHandle ownerHistory,
    IFCLabel name,
    IFCLabel description,
    IFCLabel applicableOccurrence,
    HashSet<IFCAnyHandle> propertySets,
    IList<IFCAnyHandle> representationMapList,
    IFCLabel elemId,
    IFCLabel typeName,
    Element instance,
    ElementType symbol)
 {
     switch (type)
     {
         case IFCExportType.ExportActuatorType:
             return file.CreateActuatorType(ifcEnumType, guid, ownerHistory, name,
                description, applicableOccurrence, propertySets, representationMapList, elemId,
                typeName, instance, symbol);
         case IFCExportType.ExportAirTerminalBoxType:
             return file.CreateAirTerminalBoxType(ifcEnumType, guid, ownerHistory, name,
                description, applicableOccurrence, propertySets, representationMapList, elemId,
                typeName, instance, symbol);
         case IFCExportType.ExportAirTerminalType:
             return file.CreateAirTerminalType(ifcEnumType, guid, ownerHistory, name,
                description, applicableOccurrence, propertySets, representationMapList, elemId,
                typeName, instance, symbol);
         case IFCExportType.ExportAirToAirHeatRecoveryType:
             return file.CreateAirToAirHeatRecoveryType(ifcEnumType, guid, ownerHistory, name,
                description, applicableOccurrence, propertySets, representationMapList, elemId,
                typeName, instance, symbol);
         case IFCExportType.ExportAlarmType:
             return file.CreateAlarmType(ifcEnumType, guid, ownerHistory, name,
                description, applicableOccurrence, propertySets, representationMapList, elemId,
                typeName, instance, symbol);
         case IFCExportType.ExportBoilerType:
             return file.CreateBoilerType(ifcEnumType, guid, ownerHistory, name,
                description, applicableOccurrence, propertySets, representationMapList, elemId,
                typeName, instance, symbol);
         case IFCExportType.ExportCableCarrierFittingType:
             return file.CreateCableCarrierFittingType(ifcEnumType, guid, ownerHistory, name,
                description, applicableOccurrence, propertySets, representationMapList, elemId,
                typeName, instance, symbol);
         case IFCExportType.ExportCableCarrierSegmentType:
             return file.CreateCableCarrierSegmentType(ifcEnumType, guid, ownerHistory, name,
                description, applicableOccurrence, propertySets, representationMapList, elemId,
                typeName, instance, symbol);
         case IFCExportType.ExportCableSegmentType:
             return file.CreateCableSegmentType(ifcEnumType, guid, ownerHistory, name,
                description, applicableOccurrence, propertySets, representationMapList, elemId,
                typeName, instance, symbol);
         case IFCExportType.ExportChillerType:
             return file.CreateChillerType(ifcEnumType, guid, ownerHistory, name,
                description, applicableOccurrence, propertySets, representationMapList, elemId,
                typeName, instance, symbol);
         case IFCExportType.ExportCoilType:
             return file.CreateCoilType(ifcEnumType, guid, ownerHistory, name,
                description, applicableOccurrence, propertySets, representationMapList, elemId,
                typeName, instance, symbol);
         case IFCExportType.ExportCompressorType:
             return file.CreateCompressorType(ifcEnumType, guid, ownerHistory, name,
                description, applicableOccurrence, propertySets, representationMapList, elemId,
                typeName, instance, symbol);
         case IFCExportType.ExportCondenserType:
             return file.CreateCondenserType(ifcEnumType, guid, ownerHistory, name,
                description, applicableOccurrence, propertySets, representationMapList, elemId,
                typeName, instance, symbol);
         case IFCExportType.ExportControllerType:
             return file.CreateControllerType(ifcEnumType, guid, ownerHistory, name,
                description, applicableOccurrence, propertySets, representationMapList, elemId,
                typeName, instance, symbol);
         case IFCExportType.ExportCooledBeamType:
             return file.CreateCooledBeamType(ifcEnumType, guid, ownerHistory, name,
                description, applicableOccurrence, propertySets, representationMapList, elemId,
                typeName, instance, symbol);
         case IFCExportType.ExportCoolingTowerType:
             return file.CreateCoolingTowerType(ifcEnumType, guid, ownerHistory, name,
                description, applicableOccurrence, propertySets, representationMapList, elemId,
                typeName, instance, symbol);
         case IFCExportType.ExportDamperType:
//.........这里部分代码省略.........
开发者ID:whztt07,项目名称:RevitCustomIFCexporter,代码行数:101,代码来源:FamilyExporterUtil.cs


注:本文中的IFCFile.CreateAirTerminalType方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。