Is there a way to modify a generic model created with direct shape in Dynamo?

I created the walls and floor separately using direct shapes to build a sloped trench. However, since there will undoubtedly be parts of the walls that require openings, I would like to find a way to modify the walls.

Directshapes cannot be modified anymore via the api than they can in the API.

The option will be ‘delete and build anew’ if you can’t modify them anymore.

Same process with families.

My recommendation would be to use a real wall and attach the top and bottom to floors shape edited to the desired slopes - one for the trench base and one for the grade.

Opening tools for standard walls would then be common sense for any Revit user (as will things like hosting).

Depending on the nature of the form you could also try wall by face on the output geometry.

As jacob mentioned, direct shapes dont typically work well for elements that need to behave with associated smarts and handling regeneration.

Adaptive components are also an alternative but more complex approach as their control points can be relocated after placement programatically.

I suspect we will never see significant change/improvement in revit for this methodology so learning these other nondestructive approaches is likely valuable in the long run.

1 Like