To get useful information on the Viz Arc scripting console when errors occur, it's necessary to install a debugger on the target system.
How to Enable Viz Arc Script Debugger on Windows 7/8/8.1/10
I would like to debug my script (main or template script) in Viz Arc, but I don’t get the line of the occurrence on the console output when the script runs into errors. What can I do?
The registration process of the pdm.dll differs depending on the version of the OS. To register the .dll, run cmd in admin (elevated) mode and type the command below that corresponds to your software configuration:
Windows 7/8/8.1: Regsvr32.exe "C:\Program Files\Internet Explorer\pdm.dll"
Windows 10 (up to version 1511): Regsvr32.exe "C:\Windows\System32\F12\pdm.dll"
With Windows 10 version 1607 and above, pdm.dll can no longer be registered manually, but must be automatically registered by a Microsoft product. If attempting to register manually, RegSvr32.exe throws error 0x80070715.
One way to automatically register the .dll is to install Microsoft's Remote Tools for Visual Studio. Download the x64 version. This free tool will install and register the PDM. After installation, Viz Arc will automatically recognize the registered .dll.
With Windows 7/8/8.1/10, users do not need to install this file separately, provided they have either MS Office or Visual Studio installed. It also installs with Internet Explorer 8 and above but is not registered (see the steps for registering the pdm.dll above). As the PDM library is already available on these systems, you only need to make sure the active .dll is registered in order for Viz Arc to recognize it.