BIM Q&A | How to Develop AutoCAD Secondary Projects Using VB
In this discussion, we focus on how to invoke the AutoCAD command line and input any desired parameters dynamically. The goal is to implement a method that allows calling the AutoCAD command line and entering parameters freely.
For example, using VBA, you can prompt the user to enter a number and store it as a variable:
DimaAsDouble
A = ThisDrawing.Utility.GetReal(vbCrLf + "Enter a number: ")
Is this what you mean? This approach enables entering a parameter randomly and saving it into a variable for further use.















Must log in before commenting!
Sign Up