Create walls based on Linked cad plan in Revit by using dynamo

Have a look here, there is a lengthy discussion on how the lines influence the determined inside and outside face off the wall which look like the problem