read_component_model ( : : FileName : ComponentModelID )

Read a component model from a file.

The operator read_component_model reads a component model, which has been written with write_component_model, from the file FileName and returns it in ComponentModelID.


Parameters

FileName (input_control)
filename -> string
File name.

ComponentModelID (output_control)
component_model -> integer
Handle of the component model.


Result

If the file name is valid, the operator read_component_model returns the value 2 (H_MSG_TRUE). If necessary, an exception handling is raised.


Parallelization Information

read_component_model is processed completely exclusively without parallelization.


Possible Successors

find_component_model


Module

Matching



Copyright © 1996-2008 MVTec Software GmbH