+1 805-541-1003

Error: 'Bad Argument Type: Stringp Nil' (Opening AutoCAD or F/X CAD; Using Color Render, Verify Labels, or another Land F/X Tool; Adding a Dripline Hatch )


You received the following error message: Error: 'bad argument type: stringp nil'.


You may have seen this message when you:

  • Tried to use our Verify Labels tool, or when working specifically with plants.
  • Had our Color Render tool turned on.
  • Attempted to open AutoCAD or F/X CAD, and it completely froze.
  • Tried to add a dripline hatch to your project.
  • Tried to place a block from our Discipline Graphics library

Seeing a different bad argument type error? See our Error: Bad argument type landing page.


Causes & Solutions

The solution to this error will depend on what you were doing (or trying to do) when you saw the error:



In this case, a file named _install_.xml, located in your LandFX folder, is damaged.


1. Close CAD.


2. With CAD still closed, open your LandFX folder.


Locate and open a file named _install_.xml.

Your LandFX folder might be located on your computer, on an office server, or on a shared online folder. Not sure where it is? Ask your IT administrator or CAD manager.




3. The file will open in your default text application, such as Notepad.



Verify that the information in the file, including your office's Land F/X Support ID, is complete in the file.




4. If any information, such as your Support ID, is missing from the _install_.xml file, close the file and locate it in your LandFX folder. Change the file's name, giving it the name _install_.xmlOLD.


5. Locate a file named _install_.xml.bak. Change this file's name to _install_.xml (don't forget the underscores).


6. Open CAD. Can you access your Land F/X tools without errors? If so, you've resolved the issue.




Check whether your plant layers are locked – especially if you received the error when attempting to use our Verify Labels tool.


Here's an example of several locked plant layers as shown in the Layers Properties Manager:


If your plant layers are locked, unlock them. For instructions, see our lock/unlock layers documentation section.


Once you've unlocked your plant layers (if applicable), run the Verify Labels tool. If it functions correctly, you've resolved the issue.





If you are able to use the software (ruling out the damaged XML file) and your plant labels are all unlocked (ruling out the locked layers issue), our Color Render tool may be causing the problem. Do you have Color Render turned on? Read on.


1. Our Color Render tool can also cause this error from time to time. Your next step should be to turn Color Render off for now.



2. Now repeat the action that generated the error. You should be able to complete that step without seeing the error message.

This error can also occur as a result of clicking the OK button in the Colorization dialog box when no plant color symbols have been assigned. In this case, the drawing will still appear with 2D symbols instead of color symbols, but will be in Color Render mode and potentially cause this error. You should still perform the troubleshooting step of clicking Turn Off Color – even if the plan doesn't look colorized – which may very well resolve the issue.

You can turn Color Render back on when ready to present your design.





If so, your drip hatch XML file is missing, which is causing the error.


1. Ensure that your installation is up to date. Follow our steps to update Land F/X.


2. Open our Hatch tool from the F/X Site ribbon.




3. Select the Drip tab, and place any generic drip hatch. This step will restore your drip hatch XML file.


4. Add your dripline area equipment again.


You should be able to add the equipment without seeing the error.




You received this error because the block you tried to place is saved in the main Discipline Graphics folder (LandFX/Blocks/discipline_graphics) instead of one of its subfolders.


Move the block's files to a subfolder within the folder discipline_graphics, such as user_defined. You should now be able to place the block without seeing the error.




If none of the other scenarios listed above apply, or if you've followed the solution steps and you're still seeing the error, you most likely have corruption in your drawing.


Follow our steps to clean your drawing and all Xrefs.


Open the clean file and attempt the same action that generated the error. If you're not getting the error, you've cleaned your drawing successfully and can keep working in the clean drawing.

Don't want to clean your drawing? You can try to replicate the error in a blank drawing. Take care to open the blank drawing based on either the acad.dwt (Imperial units) or acadiso.dwt (metric units) templates. Repeat the action that seemed to cause the error, such as placing a plant or generating a Reference Notes Schedule – whatever you tried to do when you saw the error. If you don't see the error in the blank drawing, you're likely facing drawing corruption in the original drawing where you saw the error, and will need to clean it anyway.



Last modified on Aug 15, 2019


  • Land F/X

Our software tailors AutoCAD to the needs of landscape architects, irrigation designers, and other professionals. We automate your most tedious tasks and ensure accuracy, giving you more time to design.

Log in to