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.
What does it unlock?
Shows the measurement overlay. Works as a toggle with HideMeasurement to control visibility.
Practical Application
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.
AI Coding Best Practices
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.
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.
What does it unlock?
Shows the measurement overlay. Works as a toggle with HideMeasurement to control visibility.
Practical Application
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.
AI Coding Best Practices
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.Example