Revit API 2015 Python: GetAllViewports() takes exactly 1 argument (0 given) -


    data = unwrapelement(in[0])     outlist = []     in data:         vs = viewsheet.getallviewports()         outlist.append(vs)     out = vs 

this kind of problem:

revit api 2015 python: getallviewports() takes 1 argument (0 given) 

what arg need place in getallviewports()?

the error "... takes 1 argument (0 given)" hint calling unbound instance method: instead, hold of viewsheet interested in , call getallviewports method there, opposed using method on class name (viewsheet).


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -