public static Type GetType(string classNameIfc) { Type type = STEPEntity.GetType(classNameIfc, "Ifc"); if (type != null) { return(type); } string className = classNameIfc; if (string.Compare(className, "IfcBuildingElement", true) == 0) { className = "IfcBuiltElement"; } else if (string.Compare(className, "IfcBuildingElementType", true) == 0) { className = "IfcBuiltElementType"; } else if (string.Compare(className, "IfcBuildingSystem", true) == 0) { className = "IfcBuiltSystem"; } else if (string.Compare(className, "IfcOpeningStandardCase", true) == 0) { className = "IfcOpeningElement"; } else { return(null); } return(STEPEntity.GetType(className, "Ifc")); }
public static Type GetType(string classNameIfc) { string className = classNameIfc; if (string.Compare(className, "IfcBuildingElement", true) == 0) { className = "IfcBuiltElement"; } else if (string.Compare(className, "IfcBuildingElementType", true) == 0) { className = "IfcBuiltElementType"; } else if (string.Compare(className, "IfcBuildingSystem", true) == 0) { className = "IfcBuiltSystem"; } return(STEPEntity.GetType(className, "Ifc")); }
internal static Type GetType(string classNameIfc) { return(STEPEntity.GetType(classNameIfc, "Ifc")); }