Frustrum Tokens and Error Codes   

<<< Attribute Callback Functions Chapters Go Tokens and Error Codes >>>

Contents

[back to top]


H.1 Introduction

This appendix lists all the tokens and error codes used by the Frustrum functions. These values are defined in the files ‘frustrum_ifails.h’ and frustrum_tokens.h’ in the Parasolid release area.

[back to top]


H.2 Ifails

 

FR_no_errors

0

operation was successful

FR_bad_name

1

bad file name

FR_not_found

2

file of given name does not exist

FR_already_exists

3

file of given name already exists

FR_end_of_file

4

file pointer is at end of file

FR_open_fail

10

unspecified open error

FR_disc_full

11

no space available to extend the file

FR_write_fail

12

unspecified write error

FR_read_fail

13

unspecified read error

FR_close_fail

14

unspecified close error

FR_memory_full

15

insufficient contiguous virtual memory

FR_bad_header

16

bad header found opening file for read

FR_rollmark_op_pass

20

rollmark operation within frustrum passed

FR_rollmark_op_fail

21

rollmark operation within frustrum failed

FR_unspecified

99

unspecified error

[back to top]


H.3 File guise tokens

 

FFCROL

1

rollback file

FFCSNP

2

snapshot file

FFCJNL

3

journal file

FFCXMT

4

transmit file (generated by Parasolid)

FFCXMO

5

transmit file (generated by Romulus)

FFCSCH

6

schema file

FFCLNC

7

licence file

FFCXMP

8

transmit file (partition)

FFCXMD

9

transmit file (delta)

FFCDBG

10

debug report file

FFCXMM

11

transmit file (mesh)

[back to top]


H.4 File format tokens

 

FFBNRY

1

binary

FFTEXT

2

text

FFAPPL

3

applio

FFXML

4

XML text

[back to top]


H.5 File open mode tokens

 

FFSKHD

1

skip header after opening file for read (usual case)

FFLVHD

2

leave header after opening file for read (fru tests)

[back to top]


H.6 File close mode tokens

 

FFNORM

1

normal: default action on file close

FFABOR

2

abort: delete the newly created file

[back to top]


H.7 Foreign geometry ifails

 

FGOPOK

0

Foreign geometry operation successful

FGOPFA

1

Foreign geometry operation failed

FGEVIN

2

Foreign geometry evaluation incomplete

FGPROP

3

Use default properties for foreign geometry

FGGEOM

4

Foreign geometry not found

FGDATA

5

Foreign geometry data retreive error

FGFILE

6

Foreign geometry data file error

FGRERR

7

Foreign geometry real data error

FGIERR

8

Foreign geometry integer data error

[back to top]


H.8 Foreign geometry operation codes

 

FGRECU

01

Retreive foreign curve geometry

FGRESU

02

Retreive foreign surface geometry

FGCOCU

11

Copy foreign curve geometry

FGCOSU

12

Copy foreign surface geometry

FGFRCU

21

Free foreign curve geometry

FGFRSU

22

Free foreign surface geometry

FGTXCU

31

Transmitting foreign curve geometry

FGTXSU

32

Transmitting foreign surface geometry

[back to top]


H.9 Foreign geometry evaluator codes

 

FGEVTR

01

Triangular evaluation matrix required

FGEVSQ

02

Square evaluation matrix required

FGPRBD

01

Geometry parametrisation is bounded

FGPRPE

02

Geometry parametrisation is periodic

[back to top]


H.10 Rollmark operation codes

 

FRROST

1

Rollback status

FRROSE

2

Set a roll mark

FRROMA

3

Roll to a mark

FRRODT

4

Rollmark is out of date

FRROON

1

Rollback status is ON

FRROFF

0

Rollback status is OFF

[back to top]

<<< Attribute Callback Functions Chapters Go Tokens and Error Codes >>>