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.
Gelöst! Gehe zur Lösung
Gelöst von Alfredo_Medina. Gehe zur Lösung
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?
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.
Are you exporting the HTML to a Folder on your Computer?
...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.
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.
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.
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>.
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.