AssemblyConstraints - isolate parts

AssemblyConstraints - isolate parts

GeorgK
Advisor Advisor
403 Views
3 Replies
Message 1 of 4

AssemblyConstraints - isolate parts

GeorgK
Advisor
Advisor

Hello together,

 

how could I isolate the parts to a given constraint?

 

Thank you

 

Georg

0 Likes
404 Views
3 Replies
Replies (3)
Message 2 of 4

JoAnn_Hogan
Collaborator
Collaborator

In your model browser > expand the relationships folder > Go to the Contraint you want to isolate and select "Isolate Components"

 

Please let me know if this works

If this post solved your issue please mark as solved and Kudos are always welcome 😃

Jo - Ann
Twitter: @JoAnn_Hogan
Revit Architecture Certified Professional / Revit Structure Certified Professional / AutoCAD Certified Professional
0 Likes
Message 3 of 4

GeorgK
Advisor
Advisor

I am looking for a VB.Net solution 🙂

0 Likes
Message 4 of 4

philippe.leefsma
Alumni
Alumni

You probably mean isolate the occurrences to be accurate ... the command is doing nothing more than changing the visibility of affected occurrences by a certain constraint. Each constraint will return the affected occurrences, for example:

 

 - MateConstraint.AffectedOccurrenceOne Property

 - MateConstraint.AffectedOccurrenceTwo Property

 

To set the occurrence visibility, use ComponentOccurrence.Visible = false.

 

I hope it helps.

 

Philippe.



Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

0 Likes