@3dsource/metabox-front-api
    Preparing search index...

    Class ShowMeasurement

    Represents a command to show measurement for a product when it is already loaded. This class sends a command to the Metabox API to show measurement for a product if it is already initialized.

    Shows the measurement overlay. Works as a toggle with HideMeasurement to control visibility.

    Shows the measurement/dimension overlay tools on the 3D viewport. Use for B2B or technical applications where buyers need to verify product dimensions, check fit specifications, or confirm measurements during procurement.

    Call api.sendCommandToMetabox(new ShowMeasurement()). No parameters. Pair with HideMeasurement for toggle behavior. Track visibility state in your app to keep toggle buttons in sync.

    import { ShowMeasurement, Communicator } from '@3dsource/metabox-front-api';
    window.env3DSource.apiReady = (api: Communicator) => {
    api.sendCommandToMetabox(new ShowMeasurement());
    };
    Index

    Constructors

    Properties

    Constructors

    Properties

    data: ToMetaBoxMessageEnvelope

    The message envelope populated by subclass constructors and sent via Communicator.sendCommandToMetabox.