LoadBase

MLModule
genre File
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLParser
definition mlParser.def
see also SaveBase, DecomposeBaseList
keywords store, BaseLoad, restore, open, object, xml, file, data

Purpose

The module LoadBase loads a ml.Base-derived object from a file.

Tips

There are several possible reasons for the Error - Object could not be loaded message.

Usually the reason is simply an incorrect file (a version conflict or something).

But the message will also appear, when you try to load (and thus create) objects of classes, that are declared in a DLL that has not been loaded yet.

For example, you can not load a SegObjList object, if the DLL mlSegmentation2 is not loaded. The solution is adding a module from that DLL on the network before pressing the load-button (usually there will be such a module in your network anyway, because you probably need it to process the object you want to load, so this error will occur seldom).

Windows

Default Panel

../../../Modules/ML/MLParser/mhelp/Images/Screenshots/LoadBase._default.png

Output Fields

outObject

name: outObject, type: MLBase, deprecated name: outputBaseObject

loaded object

Parameter Fields

Field Index

&Clear: Trigger Up to Date: Bool
&Load: Trigger Use: Bool
Auto-Update Mode: Enum  
Base Directory: String  
File Name: String  
format: Enum  
nodeName: String  
Status: String  

Visible Fields

&Clear

name: clear, type: Trigger, deprecated name: clearObject,delete

If pressed, the currently contained object is cleared.

This will automatically be done before loading a new one.

&Load

name: load, type: Trigger, deprecated name: loadObject

If pressed, the current object is deleted from memory and then the specified object is loaded from disk.

Auto-Update Mode

name: autoUpdate, type: Enum, default: AutoClear, deprecated name: autoLoad,autoLoadMode

Defines the update behavior of the module.

Values:

Title Name Deprecated Name Description
Keep Off AutoUpdateModeDoNothing,FALSE The module does nothing on any field change.
Clear AutoClear AutoUpdateModeAutoClear The module removes the current object and clears the output on any field change.
Update AutoUpdate AutoUpdateModeAutoUpdate,TRUE The module removes the current object and loads the specified object from disk on any field change.

Status

name: status, type: String, persistent: no, deprecated name: currStatus

Shows status information about this module.

File Name

name: filename, type: String, default: object, deprecated name: fileName

Sets the filename of the object.

Use

name: useBaseDir, type: Bool, default: FALSE

If checked, the Base Directory is used as a base directory from where the file is loaded relatively.

Base Directory

name: baseDir, type: String

Sets a base directory from where the file is loaded relatively.

Up to Date

name: upToDate, type: Bool, persistent: no

Shows if the output object is up-to-date.

Hidden Fields

nodeName

name: nodeName, type: String

format

name: format, type: Enum, default: Auto

Values:

Title Name
XML XML
Auto Auto