As the title says. Might be the case for other par references too? (not for float)
Reproduce:
- Add a custom par page to /project1 of the default startup file
- Add a Noise TOP in /project1
- Run the following script in textport:
op('/project1').customPages[0].appendPar('Mono',par=op('/project1/noise1').par.mono)
- The textport shows an error:
td.tdError: Custom menu parameter expected. Value:type:Par name:Amp owner:/project1 value:False Type:<class 'td.Par'>.
- Notice that the parameter was actually added correctly to /project1’s custom par page despite the error
Workaround: run the appendPar in a try-except block