elements_data_tag and elements_data Options#

These options should be called together. Using these options any data that user wants, can be added to any elements and by plotting model, the desired data will be shown on element hover!. In elements_data_tag the tag of target elements should be enter as a list and in elements_data, any desired data corresponding to the entered tags should be enter as a list. By plotting the model the data will be shown on the element hover. (Default=[])

Example#

Example with considering a text for elements with tag from 1 to 101#
import BraineryWiz as bz

# ...
# Create the OpenSees model
# ...

# Call PlotModel command
bz.PlotModel(plotmode=1, elements_data_tag=[i+1 for i in range(100)], elements_data=[f'My data on the element {i+1}' for i in range(100)], onhover_message=True)