GetISFFInfo()
Summary
Collects summary information on the contents of an Intergraph Standard File Format (ISFF) file.
Syntax
isff_info = GetISFFInfo(string isff_file_name)
| Argument |
Contents |
| isff_file_name |
The path and file name of the ISFF file |
Returns
An array of information as follows:
| Element |
Type |
Contents |
| 1 |
Array |
An array of strings indicating the names of active levels in the ISFF file, with values 1-127 |
| 2 |
Array |
An array of three arrays, one each for the bounding coordinates of the file in raw, master, and sub units; each subarray has four real numbers: {x_min, y_min, x_max, y_max} |
| 3 |
Array |
An array of two strings, with the master units and the sub units |
| 4 |
Array |
An array of arrays, one for each entity type: POINT, TEXT, LINE, LINE STRING, SHAPE, CURVE, ELLIPSE, and ARC; each array contains two elements, the name of the entity type and the number of entities of that type |
| 5 |
Array |
An array containing the list of active entities (used for MSLINK) |
| 6 |
Array |
An array of booleans indicating linkages in the form {dmrs, informix, dbase, ris, oracle, other} |
| 7 |
String |
A Boolean indicating whether the ISFF file is 3D |
Example
// This call...
isff_info = GetISFFInfo("c:\\drawing.dgn")
// Returns this type of information...
// isff_info = {
// {"1", "2", "4", ... }, (active levels)
// {{2000, 8000, 42600, 31000},...} (bounding rects)
// {"feet","feet"} (units)
// {{"POINT",2081},...}, (entity types)
// {"POINT","LINE"...}, (active entities)
// {True, False, True, True, False, True}, (linkages)
// {True} (3D)
// }
Error Codes
| Error Type |
Meaning |
| NotFound |
There is no ISFF file with the given path and file name |
| Error |
The file is not a valid ISFF file |
See Also
| Function |
Summary |
| ImportISFF() |
Imports features from Intergraph Design File format (DGN) files, also known as Intergraph Standard File Format (ISFF) |