Process Help

SUDTTR - create a wireframe surface from a SURPAC DTM file

 

Process Name

Menu Path

Link to Command Table

SUDTTR

Data ribbon | Transfer | Surpac | Input Surpac DTM

Click here

 

Introduction

Reads in a SURPAC .DTM system file (SURPAC v1) and creates two related Datamine files.

How to use

&WIREPT is a file containing a list of point coordinates. &WIRETR is a file containing point triples which define triangles. These files are the same as those output by processes SURTRI and TRIANR (the latter now obsolete).


Files, Fields and Parameters

Input Files

Name

Description

I/O Status

Required

Type

Output Files

Name

I/O Status

Required

Type

Description

WIRETR

Output

Yes

Wireframe Triangle

Wireframe triangle data file with the fields TRI-NO,PT1,PT2,PT3.

WIREPT

Output

Yes

Wireframe Points

Wireframe point data file with the fields PTN,XP,YP,ZP.

Parameters

Name

Description

Required

Default

Range

Values

SID

Surface identifier with a lower surface having the value -1, and a top surface the value +1 (-1).

Yes

-1

Undefined

-1,1


Notes

No additional notes.


Example

!SUDDTR

&WIREPT(SURVPT), &WIRETR(SURVTR),@SID=-1
SYSFILE >UPD.DTM


Error and Warning Messages

Message

Description

Solution

>>> SYSTEM FILE NOT FOUND

The SURPAC .DTM file has not been found. Fatal; the process is exited.

 

 

 

 

>>> NOT ENOUGH ROOM FOR THE REQUIRED FIELDS

Not enough room for the required fields in the output point file or triangle file. Fatal; the process is exited.

 

 

 

 

>>> UNEXPECTED END-OF-FILE WHEN READING .DTM FILE

Fatal; the process is exited.

 

 

 

 

>>> DTM HAS INVALID VALUE(S) OR IS CORRUPT

>>> LINE IS .....

Fatal; the process is exited.