Land F/X
  • Portal
  • Products
    • Design F/X
    • Planting F/X
    • Irrigation F/X
    • F/X CAD
    • Plugin for Revit®
    • Plugin for SketchUp®
    • Lighting
    • Plugin for Rhino®
    • Manufacturer Connection
    • Academic
  • Support
  • Videos
  • Who We Are
  • Trial
  • Purchase
Land F/X
  • Portal
    • Dashboard
    • Account
    • Licenses
    • Data
    • Support
  • Products
    • Design F/X
      • Product
      • Features
      • Trial
      • Purchase
    • Planting F/X
      • Product
      • Features
      • Trial
      • Purchase
    • Irrigation F/X
      • Product
      • Features
      • Trial
      • Purchase
    • F/X CAD
    • Plugin for Revit®
    • Plugin for SketchUp®
    • Plugin for Rhino®
    • Site & Hardscape
    • Lighting
    • Manufacturer Connection
    • Academic
    • Purchase
  • Support
    • Knowledge Base
    • Documentation
    • Submit Ticket
    • Updates
    • Forum
    • Install
    • Remote Assistance
  • Videos
    • Power Tips
    • Webinars
  • Who We Are
    • Contact Us
    • Careers
    • Gallery
    • News
  1. Knowledge Base
  2. Admin
  3. Errors: Admin
  4. You Keep Receiving the Message "Your Land F/X Menu is Out of Date"

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 )

Issue

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

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:

 

You tried to open CAD, and it froze. You're unable to use Land F/X at all.

 

1. Ensure that the Microsoft Visual C++ Runtimes are up to date on your system.

 

If you've verified that you have the latest Microsoft Visual C++ Runtimes but you're still seeing the error, move on to the next step.

 

2. Close CAD.

 

3. 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.

_install_xml file in LandFX folder

 

 

 

_install_xml file open in Notepad showing Support ID

4. 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.

 

 

 

5. 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.

 

Renaming _install_.xml file

 

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

 

Renaming _install_.xml.bak to _install_.xml

 

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

 

Still getting the error? Move on to the next step.

 

8. Copy the following text, including the parentheses, and paste it into the Command line: (getenv "username")

 

Press Enter.

 

If you now see the text 'nil' in the Command line, complete the following steps to resolve the error:

     8A. Follow our steps to uninstall CAD.

Follow steps 1 through 5 in the article linked above, including deleting all additional registries and files. Do not reinstall CAD quite yet – you'll do that after the next step.

 

     8B. Follow our steps to uninstall the F/X Workstation component.

 

     8C. Now reinstall your version of CAD.

If you're reinstalling AutoCAD (not F/X CAD), you'll need to reinstall the F/X Workstation component to be able to see your Land F/X menus. The F/X Workstation component is included in the F/X CAD installer, so F/X CAD users won't need to reinstall F/X Workstation at this point.

 

 Close

 

You tried to to use our Verify Labels tool, or you were working specifically with plants.

 

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:

Layers Properties Manager showing several locked plant layers

 

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.

 

 

 Close

 

You have our Color Render tool turned on.

 

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.

 

Turning Color Render off

 

 

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.

 

 

 Close

 

You tried to add an Area for Dripline hatch.

 

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.

F/X Site ribbon, Hatch flyout

 

 

 

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

Hatch dialog box, Drip tab

 

4. Add your dripline area equipment again.

 

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

 

 Close

 

You tried to place a block from our library of Discipline Graphics

 

You saw 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 source 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.

Moving a block's source files into the LandFX/Blocks/discipline_graphics/user_defined folder

 

 Close

 

None of the above, or are the other solutions not working? Check for drawing corruption.

 

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.

 

 Close

 

Contact

  • Land F/X
  • PMB 351
    3940 Broad St. STE 7
    San Luis Obispo, CA 93401
  • +1 805-541-1003
Email Logo Facebook Logo Instagram Logo LinkedIn Logo
Land F/X Logo

Our software tailors AutoCAD®, Revit®, and SketchUp® 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.

  • Portal
  • Products
  • Support
  • Videos
  • Who We Are