internal static short?IfcTypeId(this Type type)
 {
     return(IfcMetaData.IfcTypeId(type));
 }
Exemple #2
0
 public XbimInstanceHandle(IPersistIfcEntity entity)
 {
     Model             = (XbimModel)entity.ModelOf;
     this.EntityLabel  = entity.EntityLabel;
     this.EntityTypeId = IfcMetaData.IfcTypeId(entity);
 }
Exemple #3
0
 /// <summary>
 /// Returns the index value of this type for use in Xbim database storage
 /// </summary>
 /// <param name="entity"></param>
 /// <returns></returns>
 public static short IfcTypeId(this  IPersistIfcEntity entity)
 {
     return(IfcMetaData.IfcTypeId(entity));
 }
Exemple #4
0
 public XbimInstanceHandle(XbimModel model, int entityLabel, Type type)
 {
     Model        = model;
     EntityLabel  = entityLabel;
     EntityTypeId = IfcMetaData.IfcTypeId(type);
 }