+ Reply to Thread
Results 1 to 2 of 2

Thread: BUG in rs.RestoreNamedView()

  1. #1

    BUG in rs.RestoreNamedView()

    Hi Steve,

    the rs.RestoreNamedView() keeps throwing an error.

    I tested the example in the helpfile.:

    Python Code:
      import rhinoscriptsyntax as rs
       
      views = rs.NamedViews()
       
      if views: rs.RestoreNamedView(views[0])

    Message: 'NamedViewTable' object has no attribute 'Find'

    It's in line 445 of the view.py module


    Thanks,
    Grischa

  2. #2
    Senior Member Steve Baer's Avatar
    Join Date
    Apr 2010
    Location
    Seattle
    Posts
    1,472
    Blog Entries
    19
    Hi Grischa,
    I see the bug and have fixed it for the next V5 beta. If you want the new version of view.py before the next V5 beta is released, you can get it from github at
    https://github.com/mcneel/rhinopytho...script/view.py

    Thanks,
    -Steve

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts