Interface ModelNodeList

    • Method Detail

      • create

        ModelNode create​(java.lang.String tag)
        Creates a model component.
        Parameters:
        tag - Model component tag.
        Returns:
        Created model component node.
      • create

        ModelNode create​(java.lang.String tag,
                         java.lang.String type)
        Creates a model component node of a given type.
        Parameters:
        tag - Model component tag.
        type - Model component type, can be "Component", "ExtraDim", or "MeshComponent".
        Returns:
        Created model component node.
      • create

        ModelNode create​(java.lang.String tag,
                         boolean defineFrames)
        Creates a model component node, and specifies whether all frames should be defined as separate Frame entities.
        Parameters:
        tag - Model component tag.
        defineFrames - If true, all four frames will be defined as separate Frame entities. Otherwise a single Frame will be created.
        Returns:
        Created model component node.
      • insert

        java.lang.String[][] insert​(java.lang.String filename,
                                    java.lang.String[] components,
                                    java.lang.String... password)
        Insert components from an mph file into this list and returns the result of the operation as a double string array of length 3.
        The first array contains the messages from insert, the second array contains paths to the inserted objects, and the third array contains paths to the inserted references. A pasted reference is an object that a inserted object refers to, and isn't necessarily contained by any of the inserted objects.
        Parameters:
        filename - File name.
        components - components tags.
        password - Optional password for opening the file.
        Returns:
        Results from the insert operation.