Skip to content

Question on line 35 #1

@swarochisa

Description

@swarochisa

Hello,

I'm trying to learn Revit API and I'm new to github and python. Purging through the API in Revit is something that i'm interested in and after spending lots of time I found your code here. Was able to understand most of it except for line 35.

I understand that this a list constructor
List [PerformanceAdviserRuleId] ()
but I didn't understand why the parenthesis are at the end while the square brackets enclose the Performance class. Isn't this supposed to be like
list ([PerformanceAdviserRuleId])
Also, is the "L" in the constructor supposed to be uppercase? my python editor gave me an error when I used upper case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions