I have made a macro for creating a rectangular box. The form comes up and the user has to input the required Height, Width & Depth. Up to this is OK. But when I click apply, a cube gets generated with all dimensions value equaling the height value. Can some check what is the mistake in the code/macro.
TIA.SolidworksApi macros
TIA.SolidworksApi macros

Make these edits.
dblWidth = CDbl(txtWidth.Text * 0.0254)
dblDepth = CDbl(txtDepth.Text * 0.0254)
Scott