Copy values from one parameter to another

Hello,

I’m trying to use DYNAMO with Civil 3D. I am familiar with DYNAMO with Revit but not with Civil 3D. I also have very limited knowledge of Civil 3D.

I’m trying to copy values from one parameter to another (from ALT to Position Z).
I’ve managed to do the first part, but I can’t find any nodes that allow me to copy the values to ‘Position Z’.

Do you have any ideas on how to do this ?

Thanks for your help.

Try

It doesn’t work.

The Z position attribute is not defined.
I don’t know the exact vocabulary, but I think that this parameter is not considered to be an attribute.
The only attributes I can find are ALT and MAT.

I managed to find a solution with a lisp I got for Autocad.
I’m trying to see if it’s also possible via DYNAMO.

The Z is not an attribute but part of the position and can’t be set apart. You need to read the block’s position (probably a Coordinate System and extract the Origin), get the X and Y from that and combine it with the found Z value into a new Point. Then you can transform the block to that new Point.

1 Like