Change wall type disregards location line

I am trying to change wall types through dynamo, however the script disregards the location line of the wall, it always rescales towards the middle. Is there a solution for this?


image
image

By any chance are you attempting to set the wall location line and then change the wall type within the same graph?

I have had problems with that. Once I separated the ‘set location line’ portion into a different graph and ran the two graphs in succession it was a lot more stable

edit I did have limited success using passthrough node to set the location line first, then set the wall type, however it was unstable in dynamo player which was no good for my workflow. Ended up separating and being happier with the result

1 Like

Thanks for your suggestion! It gave me an idea.
Using transactions seems to solve the problem so far.

image

1 Like

Hello

Wallcenter: 0
CoreCenter: 1
FinishFaceexterior: 2
FinishFaceinterior:3
Coreexterior:4
Coreinterior:5

if it can help
Cordially

christian.stan

1 Like