Material tag of wall on elevation

I’m having some trouble figuring out how to tag a wall using Rhino.Inside.Revit. Every time I try to tag a wall, I just get a (?) as the finish.

The material tag works fine on other objects, such as generic models or masses(as shown in the gh definition below and the tag called generic mass material). It also works if I place the tag manually — or even if I place it through Rhino.Inside.Revit, then unpin it and nudge it slightly left or right.

Any suggestions on what I might be doing wrong?
I’ve attached a simple screenshot of the setup for reference.

Revit version 2025.4
Rhino inside revit 1.34.9363
Rhino8 SR24

Thanks!

Hi @thirumm
I don’t see any issue in elevation view or even in section. may be you don’t have the material description available

Thank you both of you!, i basically had to try to replug them a couple of times, to force rhino inside revit to read the wall..,so its like 50/50 when it reads the material or not..Im thinking it might maybe be a tolerance issue as between the documents? will test this .

Bailbonds you mentioned “After the wall is created and tagged through Grasshopper, try using the Element.Update component or toggle the Enable input of your tagging component.”
I do not see any component called element.update? could you advise what /where this is located?

thank you again.

so found out, just setting up as Muhammed Saqlain version, the initial reference output(was the floor ) instead of the floor..And while fidling around the MD slider, i was able to pick up the wall..very strange..as the wall is what was element input for the material tag.

Hi @thirumm

After running several experiments and reviewing how the component works, I believe this explains why the behavior occurs.

When we place a Material Tag using RIR, we are not directly providing the face reference of the element. Instead, we only provide Element and a point in the view. The Material Tag component then determines the reference by projecting that point into the active view and asking Revit, Which face lies in front of this location? Revit looks along the view direction and tags the first surface it hits. That surface becomes the reference.

In the first case (where the floor was tagged), In the elevation view, the floor’s face was closer to the view direction than the wall at that point. Even though the point appeared to be placed on the wall, Revit checks which surface is in front at that location. Since the floor was in front, Revit used the floor’s surface as the reference, and the tag reported the floor material instead of the wall. in this case you have to move the point again which at some point get the correct wall face reference.

In the second case, the wall’s face was the first surface in front at that location, because the floor was no longer blocking it. Since the wall was the closest surface in the view direction, the tag correctly identified and referenced the wall material.

So the core principle is:

The point defines the position of the tag, but the first face hit in the view projection defines the material that gets tagged.

This is why the result changes when the geometry in front changes, or when the point is moved to a location where the wall face is no longer obstructed.

Hi Saqlain,

Found one way to get around this..i project the point from the wall face on to the view plane. and used that as head location. This way it picked up the wall tag..not perfect, but one strategy

but i would like to understand,why the leader from material tag does this in rhino viewport
as i believe this is the root cause for the whole thing..(its kind of projecting vector into space)

As long as it works its perfect :slight_smile:

its like working 50/50 times so not good…guess ill look for another method (text tags etc) for now.
but thank you for the help