Skip to main content

Function: useRotationControls

useRotationControls(): UseRotationControls

Provides the functionality to edit a single selected item's rotation value by using the IDAItemLayoutExtension. Provides callbacks for temporarily updating state as well as commiting the final updated value to Cimdoc. Also returns if the item is locked for rotation by using ItemPermissionsExtension

Dependencies

[DesignExtensionSystem, IDAItemLayoutExtension, ItemPermissionsExtension]

Returns

UseRotationControls

Defined in

packages/design-engine-react-components/src/hooks/useRotationControls.ts:43