Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Hover effect when Hovering over certain parts of facade

6 ANTWORTEN 6
GELÖST
Antworten
Nachricht 1 von 7
martinoT8XCR
369 Aufrufe, 6 Antworten

Hover effect when Hovering over certain parts of facade

I've designed a house in Revit 2024 and when it is exported in for instance html or any other format I require a hovering effect to be applied when I move the mouse cursor over certain parts of the building.

 

Consider a CSS effect a:hover which works similarly.

 

Any pointers would be of use.

 

Thanks.

6 ANTWORTEN 6
Nachricht 2 von 7
barthbradley
als Antwort auf: martinoT8XCR

I understand what you are trying to do, but I don't understand what this has to do with Revit.   Is there a Revit question in there?  Sounds like you've got the exporting to HTML down pat, so Revit's work is done.  No? 

Nachricht 3 von 7
martinoT8XCR
als Antwort auf: martinoT8XCR

I did not get a functioning Revit file exported - I still require the file export to be containing some kind of HTML/CSS.

 

however, the location of the area of the exported image could be practically anywhere, so how would the program know where it is?

 

Especially if it is exported already.

 

In which case, it won't be easy without Image recognition, which I think is overkill in a situation like this.

 

So to answer, no the exported file is not using all of Revit functionality before exporting the file.

Nachricht 4 von 7
barthbradley
als Antwort auf: martinoT8XCR

Are you exporting the HTML to a Folder on your Computer?  

 

HTML.png

 

...the screenshot above represents about the sum total of what Revit does do, so when you say you're "not using all of Revit functionality before exporting the file", I don't know what you think you're missing.  

 

 

Nachricht 5 von 7
barthbradley
als Antwort auf: martinoT8XCR

You know, I don't know what you're ultimately trying to achieve, but maybe sharing the RVT and let letting the end-user view and manipulate it (sort of) via the free Revit Viewer would get you there.  

 

Help | About Revit Viewer | Autodesk

Nachricht 6 von 7
martinoT8XCR
als Antwort auf: martinoT8XCR

I am clarifying this problem:

 

When working strictly with CSS and HTML you work with

 

HTML

<div class=hover-effect>

 

CSS

.hover-effect(

        div:hover(

              color:red;

)

 

I want this effect applied to a certain part of a building I have drawn in Revit.

To highlight available crap apartments in a building.

But if it requires image recognition or anything of that sort then I wont continue.

 

I exported the files in HTML but the Revit design still gets treated in an isolated manner with no way to SHARD the img into PIECES.

 

Maybe layman terms all day has made alot of software guys lazier than usual.

Nachricht 7 von 7
Alfredo_Medina
als Antwort auf: martinoT8XCR

I think this question is more about HTML code and not about Revit. I would say, export an image from Revit and in your code use an HTML tag such as <area>.


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Profile on Linkedin

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report