Is it possible to use separate custom reports inside the one program?
I need to measure some bits of a part and/or other bits dependent on what the operator choice is at the start of the program and need to show clear Cad views with dimensions attached for each situation, which a custom report works well with. Can I call them into a program at different locations etc...?
Or is there some form of legacy or hyper report that I could do this with? TIA
yes of course. i use 2 custom reports in one program
Thanks for the reply!
Is the use of the different custom reports automated or do you mean you pick the one you want manually before running the program? If it's automated, could you please post the code? TIA
Set RepWin = Nothing
Set PCDpart = Nothing
Set PCDapp = Nothing
End Sub
Then you need to set name of custom template in Pcdmis into argument. In my case custom templates are "LH" and "RH" so i put command of script before print command.
On Monday I will share code. I managed fully working dual programs left and right part in one program each has separate custom and also excel reports, each is saved into differt folder and it;s smootly running without problems. I have pc-dmis 2022.1 but i have to be at work what i'll be on Monday. Do you waant me to share that code?
Here print 1st part ends. I change alignment to 2nd part and repeat structure like in 1st part.
Variable of course must have different name. Custom reports name is "RH"
You can repeat this as many part you want in program. I use basic dialog at beginning of program with part selector and I use If/end if to run selected program.
I can share full program prg if you want but you need to tell me your pcdims version.