I’ve been playing around with setting up a dashboard via one of the SpecklePy tutorials. I have the Viewer working on my page but it never shows the Revit elements in any of the commits.
I’m using the code from the tutorial with the only difference being I’ve added a selection boxes for the specific branch and commit as opposed to just the stream.
def commit2viewer(stream, commit, height=400) -> str:
embed_src = "https://speckle.xyz/embed?stream="+stream.id+"&commit="+commit.id
return st.components.v1.iframe(src=embed_src, height=height)
with viewer.expander("Viewer",False):
st.subheader("Latest Commit👇")
commit2viewer(stream, commits[0])
Am I missing something? I though the commit would include all object types.