Hi
We have a need to ASCII export all datapoints of a dpType except for the master datapoint.
We have a tool that runs wccoaascii from the command line using the following command:
WCCOAascii -out -currentproj "filename.dpl" -filter DAOP -filterDpType DpType_Name -outputVersion 1
Is there a way of excluding _mp_,,,,, points from the export?
Thanks
Mark
ASCII Export
- dbindernagel
- Posts:161
- Joined: Mon Feb 23, 2015 1:34 pm
Re: ASCII Export
If all your datapoints follow a specific naming convention (maybe they all start with a specific letter) you could add the "-filterDp dpname" option to get the same effect of exluding datapoints starting with _mp_.
For example the following should only export datapoints which start with A or B. This would exclude the _mp_ datapoints.
You can use the filter option multiple times.
Have not tested this myself but according to the help it should work.
For example the following should only export datapoints which start with A or B. This would exclude the _mp_ datapoints.
You can use the filter option multiple times.
Have not tested this myself but according to the help it should work.
Code: Select all
WCCOAascii -out -currentproj "filename.dpl" -filter DAOP -filterDpType DpType_Name -filterDp A* -filterDp B* -outputVersion 1
The command line option -filterDp dpname restricts output to the specified data points. Dpname is in the dpNames format, that is, you can also use wildcards (see Control function dpNames()). This option also can be used more than once.