How to change the Z values in list of Curves?

I’m trying to match floor from a linked model to our model’s floors. I’ve gotten out a list of curves representing the linked model’s slab sketch, but I would like to set them to a different Z value. How would I go about changing the startpoint and endpoint z value for each item in the curve list?

also follow up question: I’m using Floor.ByOutlineTypeAndLevel to create a new floor then deleting the old one. Is there a way of just assigning a new sketch to the existing floor so I can keep a consistent element id?

1 Like

If I´m correct, you are trying to change the floors’ height. I think that would be easier to do through SetParameterByName, changing the offset value.
f

@jp2982 You could try this

2 Likes

Geometry.Translate does the trick! thanks much Petar

1 Like