Skip to content

When using AnalyzeTool() without a setup file, setting the Coordinates or States file name doesn't load either file. #2426

Open
@carmichaelong

Description

@carmichaelong

From some workshop participants, they had code like the following (same is true if you use setStatesFileName() too):

analyzeTool = AnalyzeTool();
analyzeTool.setCoordinatesFileName('theirfilename.mot');
...

This throws an error at these lines, and it occurs because the bool _loadModelAndInput is false, skipping this line. The only way to switch that bool seems to be to construct an AnalyzeTool() with two arguments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions