Please help with what this error means:
Change the single quotes on (‘RevitAPI’) to normal quotes. It’s a copy paste issue.
Well that one is because you IN 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.ToXyz(). By the way since your not inputting Revit elements you don’t need to unwrap them.
Thank you for the input @SeanP!