Process Help

CHECKIT - check point and string files

 

Process Name

Menu Path

Link to Command Table

CHECKIT

Data ribbon | Data Tools | 3D Utilities | Check Strings

Click here

 

Introduction

note.gif (1017 bytes)

This is a Superprocess and running it may have an effect on other Datamine files in the project. More...

 

This process carries out validation checks on string data.

How to use

The process first renumbers all PVALUEs starting with 1 and incrementing by 1. A new string is started whenever the old PVALUE changes or when the point number (PTN) is 1.  This is done in case the input file contains two or more strings with the same PVALUE. 

Duplicate points within a string are identified, and the second and subsequent occurrences of any point are removed, except for the last point which can be the same as the first.

Duplicate strings are removed.  This is done by summing the XP, YP and ZP coordinates for each string, and identifying strings with identical accumulated values.  Therefore strings are duplicates if they have the same points, even though other attributes may be different.  It is possible to define two strings which use the same set of points, but in a different order.  In this particular case the method would incorrectly flag the strings as identical.  If this situation is a possibility then the strings should be checked interactively in the Design Window.

The process PROPER also carries out checks on string files.


Files, Fields and Parameters

Input Files

Name

Description

I/O Status

Required

Type

IN

Input string file.

Input

Yes

String File

Output Files

Name

I/O Status

Required

Type

Description

OUT

Output

Yes

String File

Output file containing validated strings.


Notes

No additional notes.


Example

!CHECKIT &IN(strings1),&OUT(strings2)

CHECKIT - Point and string validation

... input validation
... validating string data
... 6 duplicate points removed
... 2 duplicate strings removed

... input file strings1
    contains 6 strings with a total of 129 points
... output file strings2
    contains 4 strings with a total of 111 points
... process complete