So googling this issue, I found that a SVG file is kind of an XML that can be edit with Notepad. So maybe this can be an opportunity to export using “lunchbox” package but I’m not sure if this is possible ?
What do you think ? Is there an easier way to “convert” a plan in SVG using the room boundary lines ?
But you are right, .svg does not support “ID’s” as pr. say, you could use .csv, i believe PowerBI can work with comma separated files, and this way you can add ID’s and headers to your geometry before export.
it does work- but I think you need to be careful with units- depending on what application is used to view the SVG, it might not be able to comprehend something like 100,000 pixels wide
I’d suggest it is probably easier to create a vector PDF in Revit, then use something like Inkscape to scale/tidy it up and convert to SVG for use in PowerBI
(note that Inkscape SVG is different to standard SVG)
So it seems that the export works for lines using the good scale and with attention of flattening all the lines in one list.
The problem is that, for using The OkViz’s Synoptic Panel for PowerBI in the most efficient way, we should
export polygons instead of lines ,
connect and implement an “ID” field of these polygone that connects the data to the geometry.
For example, if you look at this file that is given for example in the Gallery of the synoptic designer OkViz, each entity ( or room boundary line) is described like this :
I tried to use Adam script but to re-adapt to export Areas by calling the relative API methods but not sure if it’s feasible… I have no idea how to select the Area Plan first - any idea ?
I i think I managed to solve - was very easy actually. Just need to apply RoomFIlter instead of AreaFilter and use areas instead of rooms for boundaries!
Points are coincident when they are in the same location, so a line between them would have zero length, tricky to really say more at the moment, I am interested for this and will look at developing something but it’s going to take a while before I get Revit installed, at least with 2020 dynamo is baked in as an add-in rather than something else I need to convince my it fits to install…