&FORMAT
Returns the format of the current file to a receiving variable or GRIP statement. File types that contain readable information will return the string "TEXT".
Read Only - String - 4 Characters
Specific strings are returned for each file type:
String Returned |
File Type |
Extension |
UG |
Unknown |
.prt |
PART |
Archive Part |
.prt |
TEXT |
Text File |
.txt |
GRIU |
GRIP Intermediate |
.gri |
GRXU |
GRIP Execution |
.grx |
CUST |
Customer Defined |
.cst |
UGI |
UGI File |
.ug1 |
TEXT |
Expression Text File |
.exp |
TEXT |
Operation Template Text File for CAM |
.opt |
GRII |
GRIP Batch Intermediate |
.gri |
GRXI |
GRIP Batch Execution |
.grx |
TEXT |
Filter for component selection |
.flt |
TEXT |
User Tools definition file |
.utd |
SNP |
Assemblies Navigation Tool Snapshots |
.snp |
DISP |
Display File |
.dsp |
CLF |
CL-File (Apt Format) |
.clf |
IMAG |
UNISOLIDS Image File |
.img |
TEXT |
User Tools menu definition file |
.utm |
TEXT |
UG RemarX markup file |
.kp |
TEXT |
Sheet meta customer default file |
.std |
MDF |
Post Machine Data |
.mdf |
USCK |
UNISOLIDS Checkpoint |
.uck |
TEXT |
Sheet meta standard turret file |
.tur |
TEXT |
Post Text File |
.ptp |
TEXT |
Plotter Control File |
.plt |
TEXT |
PDES File |
.pds |
TIFF |
Aldus TIFF |
.tif |
TEXT |
IGES File |
.igs |
TEXT |
Adams Command File |
.acf |
TEXT |
C4X File |
.c4x |
TEXT |
DXF File |
.dxf |
TEXT |
UGTODMIS file |
.sav |
TEXT |
Log File |
.log |
TEXT |
CL Source File |
.cls |
TEXT |
Searchlist |
.sea |
UAI |
User Analysis Definitions |
.uai |
UAM |
User Analysis Master |
.uam |
DSS |
Display File |
.dss |
CGP |
Display File |
.egp |
TEXT |
GRIP Source |
.grs |
TEXT |
Moldflow Input |
.tri |
TEXT |
Moldflow Input |
.mdl |
TEXT |
Line Printer File |
.lpt |
TEXT |
Library Setup File |
.lsf |
TEXT |
Text File, No Extension |
|
TEXT |
Error Listing File |
.err |
TEXT |
Output File |
.out |
TEXT |
MOLDFLOW |
.mfl |
FMT |
Parts List Format |
.fmt |
TEXT |
Color Definitions |
.cdf |
TEXT |
Font Definition |
.fnt |
TEXT |
Menu Table Entity |
.mte |
TEXT |
Analysis Input File |
.anl |
TEXT |
Analysis Results File |
.reg |
TEXT |
Machining Library |
.lib |
PAB |
Post Processing Data File |
.pab |
UT1 |
NASTRAN Data File |
.ut1 |
BCL |
Binary CL File |
.bcl |
BIN |
Post Binary File |
.bin |
STL |
Stereo Lithography |
.stl |
TEXT |
Text File |
.txt |
UG |
Binary File, No Extension |
|
TEXT |
PADL2 Text File |
.ppl |
TEXT |
View Definition File |
.def |
LANG |
Native Lang. Binary |
.lng |
PBNF |
Patran Neutral Binary |
.bnf |
PIXL |
UGSOLID Pixel File |
.pix |
DATA |
Miscellaneous Data File |
.dat |
TEXT |
Font Definition File |
.fdf |
TEXT |
Punch/Machine/Turret/etc. |
.pch |
NCTV |
NC TV File |
.nct |
FCET |
NC Facet File |
.fct |
TEXT |
Patran Neutral File |
.ntl |
TEXT |
PDA Job File |
.job |
CGM |
Computer Graphics Metafile |
.cgm |
SBF |
Symbol Definition |
.sbf |
TEXT |
ASCII CL file |
.iso |
PFAC |
Pattern Facets |
.fac |
UDF |
User Defined Feature |
.udf |
TEXT |
ASCII Crosshatch File |
.chx |
DIR |
Directory |
|
DLG |
UIStyler Dialog File |
.dlg |
TEXT |
CAM Table File |
.tbl |
TEXT |
CAM Script File |
.tcl |
ODVL |
OFF-line Disk Volume |
|
UG |
Font Binary File (fnx extension) |
.fnx |
SEPT |
Solid Edge Part File |
.par |
SESM |
Solid Edge Sheet Metal |
.psm |
OTVL |
Off-line Tape |
|
TVOL |
Tape Volume |
NOTE: You must open the appropriate directory and/or file header
before you execute this GPA using the FHREAD statement. If you want to
access more than one file or directory, you can use the DOPEN and DNEXT statements to
cycle through the files.
If your current file system does not support this field, it will be set to null.