IFClite TypeScript API
    Preparing search index...

    Type Alias BulkAction

    BulkAction:
        | {
            propName: string;
            psetName: string;
            type: "SET_PROPERTY";
            value: PropertyValue;
            valueType: PropertyValueType;
        }
        | { propName: string; psetName: string; type: "DELETE_PROPERTY" }
        | { attribute: string; type: "SET_ATTRIBUTE"; value: string }
        | {
            entityType: string;
            predefinedType?: string | null;
            type: "SET_ENTITY_TYPE";
        }

    Action to apply to selected entities

    Type Declaration

    • {
          propName: string;
          psetName: string;
          type: "SET_PROPERTY";
          value: PropertyValue;
          valueType: PropertyValueType;
      }
    • { propName: string; psetName: string; type: "DELETE_PROPERTY" }
    • { attribute: string; type: "SET_ATTRIBUTE"; value: string }
      • attribute: string

        Exact EXPRESS attribute name, one of BULK_WRITABLE_ATTRIBUTES (Name, Description, ObjectType, Tag). An entity whose class does not declare it fails the run instead of being skipped.

      • type: "SET_ATTRIBUTE"
      • value: string
    • { entityType: string; predefinedType?: string | null; type: "SET_ENTITY_TYPE" }
      • entityType: string

        Target IFC class (PascalCase, e.g. "IfcColumn").

      • OptionalpredefinedType?: string | null

        Optional PredefinedType to set on the target class.

      • type: "SET_ENTITY_TYPE"