Help with ~Unexpected token '''~ error

Please help with what this error means:

Change the single quotes on (‘RevitAPI’) to normal quotes. It’s a copy paste issue.

2 Likes

Get rid of one error and another pops up…

Well that one is because you IN[1] has 2 values and is a List. The .ToXyz() will only work on a single item. If you only need one then either make sure your input is a single item, loop the input, or just get a single item from the input. IN[1][0].ToXyz(). By the way since your not inputting Revit elements you don’t need to unwrap them.

Thank you for the input @SeanP!

1 Like