I am using an offline seat of PCDMIS 2023.1 SP2. I have two scripts that I have written using the DMIS SCRIPT EDITOR. They both compiled without errors, and run correctly from the play button inside the script editor. When I select
INSERT and
BASIC SCRIPT, the brows menu opens, looking for only for
*.bas files. My files are in the default location
C:\Users\Public\Documents\Hexagon\PC-DMIS\2023.1. Both scripts will not run inside my PCDMIS program. Looking thru the help files there is one difference that I am noticing that I could use help with.
Here is my code from the insert basic script menu.
CS1 =SCRIPT/FILENAME= C:\USERS\PUBLIC\DOCUMENTS\HEXAGON\PC-DMIS\2023.1\CHECK.BAS
FUNCTION/Main,SHOW=YES,,
STARTSCRIPT/
Here is a copy of one of the script files shown in the help files.
CS2=SCRIPT/FILENAME= D:\PROGRAM FILES\PCDMIS35\TEST.BAS
FUNCTION/Main,SHOW=YES,,
STARTSCRIPT/
ENDSCRIPT
I am wondering if my problem is the lack of the "ENDSCRIPT" statement? There doesn't seem to be any workaround that I can find to edit that into the program code, and I haven't found a menu setting that would enable the ENDSCRIPT.
Any help would be greatly appreciated!