No wonder it wasn't working!! I add the relevant parameter to my code and it no longer errors out. The script still does nothing, as detailed in my other post to this forum.
This is probably obvious to folks who code, but the error message was a tad obtuse for me:
Traceback (most recent call last):
File "my_newB.py", line 143, in <module>
main()
File "my_newB.py", line 125, in main
mgSetAttList(xRef, "./res_90.flt")
TypeError: in method 'mgSetAttList', argument attrCode of type 'int'
Shawn
My morning post or attempt at same dealing with issues I am having with fltXref seems to have gone missing, hopefully it lands soon.
In the meantime, in desperation, I've gone searching through the forum and I come upon this helpful nugget at:
https://portal.presagis.com/support/discussions/topics/19000013258
which says:
Contrast that with the Suite 22 API reference:
No wonder it wasn't working!! I add the relevant parameter to my code and it no longer errors out. The script still does nothing, as detailed in my other post to this forum.
This is probably obvious to folks who code, but the error message was a tad obtuse for me:
Traceback (most recent call last):
File "my_newB.py", line 143, in <module>
main()
File "my_newB.py", line 125, in main
mgSetAttList(xRef, "./res_90.flt")
TypeError: in method 'mgSetAttList', argument attrCode of type 'int'
Cheers,
Shawn