Skip to content

Paths to python scripts hardcoded #2

@BorORNL

Description

@BorORNL

Hi! Small bug/inconvenience when installing the scripts. I noticed the paths to the Python scripts are hard coded in the *.cs files for example in the GeometryAssessor.cs file to V18 folder. After building the add-on the python scripts in my case were only copied to V16 (set as the output path in the Build tab of the Properties).

public string directory = @"C:\ProgramData\SpaceClaim\AddIns\Samples\V18\CCFE_Toolkit\Resources\PythonScripts\Geometry_assessor.scscript";

This results in ERROR: Script not found! message when trying to run the add-ins from SpaceClaim. Copying the Resources folder from V16 to V18 solved the problem.

I might have missed something in the installation procedure that would prevent this issue. Cheers, Bor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions