So, I really like @Dancergraham suggestion, and it nearly works, but…
This is what I’m trying to implement…
This is the command alias…
!_-runpythonscript “import AllySections as AS;AS.FlatBar()”
And this is the error message…
This script works as expected, either through the alias or in the script editor, if I call the function specifically in the AllySection.py file (if name==“main”:…etc) , so the AllySection.ini is able to be located otherwise.
Does AllySection.ini also need to be imported?