Type Alias: PlaceFreeItem
PlaceFreeItem = (
instanceId,placement) =>Promise<boolean>
Moves a free modular item and saves the placement as one undo step. Resolves true when the move's own 3D work finishes, including dimension refresh and snap recalculation. Returns false for an invalid instance ID, coordinates or heading, an unavailable scene, item or model geometry, a non-free or connected item, or a move blocked by shopper dragging, the canvas loader or screenshot capture. A scene replacement or reset invalidates the request, even if the move had already started.
Parameters
instanceId
string
placement
Returns
Promise<boolean>
Example
await window.mimeeqApp.actions.placeFreeItem(itemId, {
position: { x: 1, y: 0, z: 2 },
rotation: 90,
});