Question relating to ResultDefinitionScalar() displaying empty scale and gray model

KrystianP
KrystianP Altair Community Member

Hallo Community,

I want to use the ResultDefinitionScalar function to plot displacements. And it plot empty legend and gray model. Maybe somebody have the same issue and already solved it

When I firstly manually plot some results after that the code works.

elem_collection = hw.hv.Collection(hw.hv.Element, populate=True)
scalar_results = hw.hv.ResultDefinitionScalar(dataType="DISP", dataComponent="Mag", averageMode="none", collection = elem_collection)
results.plot(scalar_results)

Thank you for your responses.

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.