2022.28040 Engine Comp custom parameter changes from Python to Str at initialization

TouchDesigner 2022.28040

I saved a .tox from a Base Comp with a custom parameter of style “Python”
Then when I loaded that .tox in an Engine Comp, the custom parameter had changed to style “Str”.

I checked all the styles, there are (only) 10 that fail to keep their parameter style

name style
Python Str
Chop Str
Comp Str
Dat Str
Mat Str
Object Str
Panelcomp Str
Sop Str
Top Str
Op Str
File File
Float Float
Folder Folder
Header Header
Int Int
Menu Menu
Momentary Momentary
Pulse Pulse
Rgba RGBA
Strmenu StrMenu
Toggle Toggle
Uv UV
Uvw UVW
Wh WH
Xy XY
Xyz XYZ
Str Str
Rgb RGB

Hi - thanks for your post - and the detailed testing.

Some parameter types aren’t supported by TouchEngine. The Engine COMP should definitely give you a warning when it encounters those - I’ve opened an issue for it and we’ll do that for future releases. I think we probably can support Python parameters too.

4 Likes

Having ability to pass Python parameter to Engine COMP would be awesome :slightly_smiling_face: