Load Data

Use basic Inspire API to load data.

inspire.openFile(filePath)

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

inspire.importFile(filePath)

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

model = inspire.getActiveModel()

Returns the active model.

parts = model.parts

Return parts of the model.