Find mirrored objects

Find mirrored objects

Haider_of_Sweden
Collaborator Collaborator
3,429 Views
7 Replies
Message 1 of 8

Find mirrored objects

Haider_of_Sweden
Collaborator
Collaborator

When I mirror objects in Revit, nothing breaks.

However, when I export the model to FBX, in 3dsMax for example, I notice that the meshes are scaled in a negative axis.

Result in 3dsMaxResult in 3dsMax

 

 

How can I find these objects?

Please see the attaced revit-file (ver 2017) for reference.

0 Likes
Accepted solutions (3)
3,430 Views
7 Replies
Replies (7)
Message 2 of 8

L.Maas
Mentor
Mentor
Accepted solution

Dynamo can help.  A simple script

Mirror Script.pngMirrored.JPG

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Message 3 of 8

Haider_of_Sweden
Collaborator
Collaborator

Looks promising - will give it a try soon.

 

In the meanwhile, can you advise how to select all the red objects as well?

Just to be sure: there is no built in thing that tags/shows an object is mirrored? (don't get me wrong, I appreciate the Dynamo-solution, but I always try to make sure I cover as many solutions as possible 👍 )

0 Likes
Message 4 of 8

Haider_of_Sweden
Collaborator
Collaborator

@L.Maas wrote:

Dynamo can help.  A simple script

Mirror Script.png


I can't find the nodes in your screenshot.

What Dynamo-version are you using? I am running Dynamo 1.3 and Clockwork for Dynamo 1.x. 

0 Likes
Message 5 of 8

L.Maas
Mentor
Mentor

I have used Revit 2020 with Dynamo 2.3.

If needed you can download newer version of Dynamo HERE.

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

0 Likes
Message 6 of 8

L.Maas
Mentor
Mentor
Accepted solution

No tags or something. Possibly Model Review  could do something, see HERE.

Capture.JPG

You could modify the script slightly and do the following

Mirror Script.png

Instead of coloring red (you could do both) the text "Mirrored" is written in the comments parameter of the elements

Then it is a matter of building a filter and use it in a view to hide lements that do not have the word wmirrored in the comments. Or you could elaborate on the script and manipulate the objects (e.g delete, mirror).

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Message 7 of 8

Haider_of_Sweden
Collaborator
Collaborator

Here comes a very late Thank you @L.Maas 😄

 

There are some follow-up questions:

  • Why is it hard to search? I searched for All Elements of Type, but instead I had to google it so that I knew this was under Revit > Selection
  • How do you create this output-list underneath FamilyInstance.IsMirrored?
  • What node should I use if I want Dynamo to actually select the items for me, instead of only red-coloring them or adding a comment to them?
0 Likes
Message 8 of 8

L.Maas
Mentor
Mentor
Accepted solution

You can hover over the node and a white panel will open with a pin. Clicking on the pin will leave it open. Or you attach a watch node

Dynamo.PNG

 

There is not a standard node that creates a selection in Revit and then leaves it up to the user to take following action. In those cases you would normally use/create filters or manual selection sets. With Dynamo you would decide on the following actions and let Dynamo do them for you (e.g. add values to parameters, delete them).

However there is a custom package Modelical that seems to have such a node. See THIS YouTube video for explanation.

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.