Click or drag to resize

IMaterials Interface

An interface representing materials repository of a project.

Namespace:  EMInvent.InventSim.COMServer
Assembly:  InventSim (in InventSim.exe) Version: 5.1.12.6+develop
Syntax
public interface IMaterials

The IMaterials type exposes the following members.

Properties
  NameDescription
Public propertyActiveMaterial
Get or sets active material which is used when adding new objects.
Public propertyCount
Gets number of materials in the project.
Top
Methods
  NameDescription
Public methodAddGyromagnetic
Adds a new gyromagnetic material with the specified name. The created material properties are vacuum properties.
Public methodAddIsotropic
Adds a new isotropic material with the specified name. The created material properties are vacuum properties.
Public methodGet
Returns a material with the given name. If no material is found, ArgumentException is thrown.
Public methodGetByIndex
Returns a material with the given index. If no material is found, ArgumentException is thrown.
Public methodRemove
Removes material from the project.
Top
See Also