Load Data

Use basic Inspire API to load data.

Open File

inspire.openFile(filePath)

Open a new model. filePath is the absolute system path to the model file.

Import File

inspire.importFile(filePath)

Import a model while keeping existing models. filePath is the absolute system path to the model file.

Get Active Model

model = inspire.getActiveModel()

Returns the active model.

Model Parts

parts = model.parts

Return parts of the model.

Mesh Info

mesh = model.meshInfo()

Print mesh information for a model, assembly, or parts.

Attributes:
p_numElems
Number of elements
p_numNodes
Number of nodes
p_numParts
Number of parts