'td.scriptSOP' object has no attribute 'appendParPulse'

Hi

In Operator Snippets for SOP/Script/example6, if you press "Setup@ in operator parameters, there is an error:

So it’s not clear how to create Pulse button for Script SOP

Thanks, we can reproduce and will look into it.

2 Likes

Something like this works to create the Pulse button – based on the default script:

def onSetupParameters(scriptOp):
	page = scriptOp.appendCustomPage('Custom')
	p = page.appendPulse('Increment')
	p = page.appendPulse('Reset')
	return