BIM.works SDKs - v3.0.0-beta.168
    Preparing search index...

    Interface ObjectTransformOptions

    interface ObjectTransformOptions {
        fillings?: boolean;
        host?: Iterable<Qid, any, any>;
        lengthUnit?: string;
        mode: "rotate" | "move";
        model?: boolean;
        onCancel?: () => void;
        onCommit?: (result: ObjectTransformResult) => void;
    }
    Index

    Properties

    fillings?: boolean

    Doors or windows are among the objects: their openings move with them (BUL TRANSFORM's default), and the mode bar offers to keep them (result.openings false: WITHOUT OPENINGS). Viewer3D-Next

    host?: Iterable<Qid, any, any>

    The wall all of the objects (doors, windows) sit in: the move keeps them in it (along it and up and down, stopping at its ends; turns of 180° only), and the wall is drawn see-through while a gesture runs. Viewer3D-Next

    lengthUnit?: string

    The unit of a length typed without one, default "mm" (Viewer3D-Next)

    mode: "rotate" | "move"

    What a bare typed number means first (a length or an angle) and the hint; M and R switch while the tool runs

    model?: boolean

    The objects are a whole model (Manual alignment): one change for all of it, "the model" in the title; the new alignment is the stored one times models[0].delta. Viewer3D-Next

    onCancel?: () => void

    Escape

    onCommit?: (result: ObjectTransformResult) => void

    Enter: the accumulated transformation