Hello!!!
I’m trying to recover data from a vtkInformation instance that I recover from vtkMultiBlockDataSet meta data.
I can print the vtkInformation and I see the value of the “NAME” information - which is what I want to access, but I can’t figure out how to actually recover the value.
Given
mbds #This is an instance of a vtkMultiBlockDataSet
nmds_iter = mbds.NewIterator()
nmds_iter.VisitOnlyLeavesOff()
nmds_iter.SkipEmptyNodesOff()
nmds_iter.InitTraversal()
nmds_iter.GoToFirstItem()
meta_data = nmds_iter.GetCurrentMetaData()
num_keys = meta_data.GetNumberOfKeys()
print(meta_data)
produces,
vtkInformation (0000026BA289B230)
Debug: Off
Modified Time: 1573
Reference Count: 2
Registered Events: (none)
NAME: Assembly 1
“Assembly 1” is the data I’m trying to recover.
How can I do this?
Thanks in advance,
Doug