Using the Project Base Point Coordinates in calculations

Hi All,

This has been perplexing me for a while now. I have got the E/W and N/S coordinates from the Project Base Point and wanted to subtract this value from a list of coordinates but Dynamo will not perform the calculation on the list? Any ideas why this may be? I have checked that it is a number and as you can see from the image, this works fine if a manually add the number into a Code Block. I am guessing its a quirk with the way the Revit parameter is held?

Cheers,

It’s to do with lacing, if you use the multiply operator node, or use lacing in the code block it should work.
Try the multiply operator node and set the lacing to longest.

TJ

Code blocks are set to shortest lacing by default, so you’ll have to incorporate the lacing symbols to get things to work

2 Likes

Or you can use flatten to make it flat again :wink:

Project_Base_Point.dyn (6.3 KB)

Thanks guys, I always seem to forget the Lacing tricks! Thanks