Single Pick to Unjoin Solid Geometry from everything method.

Single Pick to Unjoin Solid Geometry from everything method.

mr.engineer.aec
Advocate Advocate
913 Views
3 Replies
Message 1 of 4

Single Pick to Unjoin Solid Geometry from everything method.

mr.engineer.aec
Advocate
Advocate

Hi All,

I can't understand why:
- In Revit, we can use Unjoin Geometry to unjoin a element from evething, which joined with it.
- In Revit API, we have method 

UnjoinGeometry(
	Document document,
	Element firstElement,
	Element secondElement

Now, i want to pick a element only, it will unjoin from evething in Revit API.
How can i do ?

Thank in advanced !

914 Views
3 Replies
Replies (3)
Message 2 of 4

zefreestijl
Advocate
Advocate

Hi, I have the same problem,

has this issue been solved in Revit 2021 or 2022 yet?

0 Likes
Message 3 of 4

RPTHOMAS108
Mentor
Mentor

Not sure I'm understanding the problem here?

 

JoinGeometryUtils.GetJoinedElements(Document, Element), Since 2014,

 

Iterate the resulting set and unjoin each from the subject element (or match the set against items in a second selection).

 

UI works the same way as far as I can tell: "Removes a join between two or more elements" i.e. not everything in one pick.

Message 4 of 4

zefreestijl
Advocate
Advocate
Hi Thomas, Thanks for your help, this mothed works :]
0 Likes