Removing lines of Generic Model

Hi everyone,

My issue is this:

I’m creating a Generic Model (in a family) in Revit using Dynamo and it works, but once the geometry is displayed on Revit, some lines appear in the Model, and the only way I have found to delete them is converting them in ‘Invisible Lines’ once the family is loaded into a project.

I’m trying to create a family with some flexibility to be loaded in different projects, so it is really annoying to have to delete all this lines in every single Family Instance.

Any ideas?