Click or drag to resize

AssimpContextConvertFromFileToFile(String, PostProcessSteps, String, String, PostProcessSteps) Method

Converts the model contained in the file to the specified format and save it to a file.

Namespace: Internal.Assimp
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public bool ConvertFromFileToFile(
	string inputFilename,
	PostProcessSteps importProcessSteps,
	string outputFilename,
	string exportFormatId,
	PostProcessSteps exportProcessSteps
)

Parameters

inputFilename  String
Input file name to import
importProcessSteps  PostProcessSteps
Post processing steps used for the import
outputFilename  String
Output file name to export to
exportFormatId  String
Format id that specifies what format to export to
exportProcessSteps  PostProcessSteps
Pre processing steps used for the export

Return Value

Boolean
True if the conversion was successful or not, false otherwise.
Exceptions
ExceptionCondition
AssimpExceptionThrown if there was a general error in importing the model.
FileNotFoundExceptionThrown if the file could not be located.
ObjectDisposedExceptionThrown if the context has already been disposed of.
See Also