本文整理汇总了C#中IFCFile.CreateCableCarrierSegmentType方法的典型用法代码示例。如果您正苦于以下问题:C# IFCFile.CreateCableCarrierSegmentType方法的具体用法?C# IFCFile.CreateCableCarrierSegmentType怎么用?C# IFCFile.CreateCableCarrierSegmentType使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IFCFile
的用法示例。
在下文中一共展示了IFCFile.CreateCableCarrierSegmentType方法的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:
//.........这里部分代码省略.........