Stringp 0.0 Error in AutoCAD Command Line
Issue
You received an error message in the AutoCAD Command line that contains the text Stringp 0.0.
The error described on this page will not result in an error message in a dialog box. The error will only appear in the AutoCAD Command line. Did you receive the error 'bad argument type: stringp nil'? Solution >
When you receive this error, your Land F/X functions will likely be inoperable, and clicking a button from one of the F/X ribbons will result in nothing.
Cause
In most cases, the error is a result of a bug on our end that we can typically resolve incredibly quickly. The most common cause is a mistyped variable name within our programming code.
Unfortunately, “stringp 0.0” is not enough information for us. That error message suggests that a variable is set to 0.0, when the code is assuming it's a string value. Our error handler will have sent some additional lines of code to the Command line history. This code which will help us to determine which variable caused the error, and why the error occurred.
Solution
We'll resolve this error through a bug fix in the code of the actual software. As such, it's not so much a technical support issue as it is a programming issue.
The most important item we can receive for this type of error is the complete error text within the Command line history.
If the error report mentioned that it was sent to us, then we already have it and are aware of it. If not, please screenshot or copy the Command line history of the error message and send it to us via a technical support ticket.