Computer Aided Automation

Full Version: AutoCAD VBA - user promt example
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
AutoCAD VBA User prompt example

by putting this code under the command button (vba) you can enable the User Promt action

Private Sub CommandButton1_Click()

Dim x As Double


x = ThisDrawing.Utility.GetReal("Enter a number: ")


End Sub