Wall Reset Profile - RemoveProfileSketch Method or something else?

Just wonder if this has been or could be added to RIR?

I’ve tried with it but only works on active document, don’t know if it can work more like the Exclude way in Element Geometry (with or without transaction)?

Also found this:
https://forums.autodesk.com/t5/revit-api-forum/get-face-without-inserts/m-p/7375289

Here’s a python component that will remove all the profiles of walls based on that method.

re_RiR RemoveWallProfiles.gh (6.9 KB)

Hi @ctu6,

What’s the end goal of removing the wall profile?

Do you need the wall geometry without the profile or is just to remove it definitively?

Hi @kike

For walls,
“Element Geometry + Exclude” & “Element Geometry”
By doing Boolean different these two the result are cutout geometries of hosted elements (windows, doors, etc)

Yes I need the wall geometry without the profile.
And hopefully work for linked elements …

For example, like say a hole was made by edit profile (not hosted element), and here I try to retrieve not only that hole’s geometry but also the original wall geometry (exclude the whole).

Hi @Japhy

Yes, I’ve tried that method and it worked for an active project. But I’m searching for a way to work for linked element, ie, no transaction involving…

Hi @ctu6,

We have added in to v1.15 ‘Sketch Lines’ component in order to identify internal sketch lines of a host element sketch.

In your case you can use it combined with ‘Element Geometry’ to extract geometry without internal voids like this.

RiR-SketckLines.gh (11.0 KB)

*this error is only happening in 2024, its working as expected on linked elements in previous versions.

Revit 2022

Hi @kike

I’m very grateful for the newly made component.
The image below might be better to illustrate what I’m trying to do and wondering if it’s possible.

I see you just need the geometry of the wall if it does not have any profile.

What about the ends? I mean if the wall is chamfered with another wall at the end do you want the resulting geometry chamfered? If the wall is extended to another element (floor, roof) at top do you need the geometry also extended?

What do you want to do with the resulting geometry after?

Hi @kike,

I’m still working on the algorithm…Sorry for the late reply.

I hope the attached file and image below elaborate a bit what I’m trying to do.
To keep things step by step, the example only discuss the “Room Side Face” at the time.

The difficulties mainly lie on the wall openings (both components & profile) on different types of wall family (Basic, Curtain, Stacked, In-placed)

RM SIDE FACE.rvt (5.4 MB)
RM SIDE FACE.gh (9.0 KB)