Interface ComponentMaterialList

    • Method Detail

      • insert

        java.lang.String[][] insert​(java.lang.String filename,
                                    java.lang.String[] materials,
                                    java.lang.String... password)
        Insert materials from an mph file into the material list of this component 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.
        Specified by:
        insert in interface MaterialList
        Parameters:
        filename - The file name.
        materials - The tags of the materials to insert.
        password - Optional password for opening the file.
        Returns:
        Results from the insert operation.