Dynamo script having errors for placing a view into sheets

i tried that not working. thank you though.

generated another script it has no error but, it is showing empty sheet in create sheets.

any idea why.