Error: Too Many Arguments OR Too Few Arguments (Adding a Plant or Other Object to a Land F/X Project)
Issue
You saw one of the following error messages when attempting to add a plant or another Land F/X object, such as a Reference Note or irrigation component, to a project:
- Error: Too many arguments
- Error: Too few arguments
Solution
1. Restart your computer. After it powers back on, sign in to your user account.
2. Open the Windows Start menu and search for cmd.
3. Right-click the Command Prompt entry that appears in the Start menu, then select Run as administrator from the submenu that opens.
4. The Command Prompt will open. Copy and paste the following command into the Command Prompt:
cd %ProgramFiles%\Autodesk\ApplicationPlugins\landfx.bundle\contents\resources\antview\Win64
Press Enter.
5. Copy and paste the following command into the Command Prompt:
regsvr32 -i AntView.ocx
Press Enter again. You should now see a success message like the one pictured below.
6. Restart your computer again.
7. Open CAD and try placing an object again.
If you can place an object without seeing an error, you've resolved the issue. If you're still seeing the error, download and run our latest F/X Workstation installer.