Hi everyone,
I used to ahve this code to change the display view in rhino:
# Get Active view name'
view_name = sc.doc.Views.ActiveView.ActiveViewport.Name="Catalogue"
# Change Display Mode of the current view
rs.ViewDisplayMode(view_name,View_Type)
Where View_Type = Wireframe
When updating to R8, I copied the code inside of the ironpython component and there is an error:

I am not getting what is wrong.
Can anyone take a look at that?
Thanks in advance