@openbim/ifc
    Preparing search index...

    Type Alias PropertyEdit

    PropertyEdit:
        | {
            name: string;
            object: bigint;
            remove?: false;
            set: string;
            setType?: string;
            value: IfcValue;
        }
        | { name: string; object: bigint; remove: true; set: string }

    One edit for IfcModel.setProperties: write value to property name of set set on object, or, with remove: true, remove it. The value is the read side's Property.value: a typed IfcValue (or { kind: "null" }), a list of them for an enumerated or list value, a typed measure for a quantity.

    Type Declaration

    • {
          name: string;
          object: bigint;
          remove?: false;
          set: string;
          setType?: string;
          value: IfcValue;
      }
      • name: string
      • object: bigint
      • Optionalremove?: false
      • set: string
      • OptionalsetType?: string

        "IfcPropertySet" or "IfcElementQuantity", for a set the edit creates that neither the type object nor the catalog describes.

      • value: IfcValue
    • { name: string; object: bigint; remove: true; set: string }