How to distinguish PID/PFD files in OPPID V8i SS5

Hello All,

We have both PFD and PID drawings in PW, they share same MWS. I need to set different database for each type of drawings. I have tried to set them in PCF files, but failed. The only difference between PID and PFD is their folder. Something like these:

%if $(_DGNDIR) == "pw://XXX/PID/"
    AP_PROJECT_ROOT=//PID/DataManager/
    AP_PROJECT_ID=0001
    PLANT_PROJECT_WORKOFFLINE=0
%endif
%if $(_DGNDIR) == "pw://XXX/PFD/"
    AP_PROJECT_ROOT=//PFD/DataManager/
    AP_PROJECT_ID=0001
    PLANT_PROJECT_WORKOFFLINE=0
%endif

Can anyone help? Thanks a lot!

Parents Reply Children
No Data