Package com.comsol.model
Interface ComponentMaterialList
-
- All Superinterfaces:
IListMove
,java.lang.Iterable<Material>
,MaterialList
,ModelEntity
,ModelEntityList<Material>
,PrimitiveModelEntity
,PropFeatureList<Material>
public interface ComponentMaterialList extends MaterialList
List of materials for a component.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.-
Methods inherited from interface com.comsol.model.MaterialList
create, create, create, getString, getStringArray, getStringMatrix, set, set, set
-
Methods inherited from interface com.comsol.model.ModelEntity
active, author, author, comments, comments, dateCreated, dateModified, docMarker, docMarker, help, help, icon, isactive, isActive, label, label, lastModifiedBy, model, model, name, name, resetAuthor, scope, tag, tag, timeCreated, timeModified, version, version
-
Methods inherited from interface com.comsol.model.ModelEntityList
clear, copy, copy, copyTo, duplicate, duplicateTo, get, index, remove, size, tags, uniquetag
-
Methods inherited from interface com.comsol.model.PrimitiveModelEntity
getContainer, getDisplayString, resolveModelPath
-
-
-
-
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 interfaceMaterialList
- 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.
-
-