SoDBRead Method (SoInput, SoPath) |
Reads a graph from the file specified by the given SoInput, returning the resulting path in path.
Namespace: OIV.Inventor
There is an alternate read routine that returns the resulting root node. The programmer is responsible for determining which routine to use, based on the contents of the input. These routines return false if any error occurred during reading.
If the passed SoInput was used to open a file and the name of the file contains a directory, SoDB automatically adds the directory to the end of the current directory search path in the SoInput. This means that nested files named in SoFile nodes may be found relative to that directory. The directory is removed from the search path when reading is complete.