Interpolating smart component

I’m trying to set interpolation value of smart components via Python, and pieceSettings() & setPieceSettings_() seems to be the way. However, I haven’t been able to update it successfully. I don’t know how to fill setPieceSettings_() parenthesis, and while I also tried the code below and the setting dictionary did get updated, it didn’t visually change in the edit view and I had to visit the smart component window and move a slider a bit to make interpolation happen.

someComponent.pieceSettings()['Width'] = 400

BTW I think ‘piece’ should be renamed as it’s only a vestige of beta version.

I fixed this. The script access was not properly done.

And I think I like he parts/pieces names for internal use.