<div dir="ltr">Dear NDN researchers,<div><br></div><div>I have been trying to access a node and get its information in a script file.</div><div>In my script, </div><div>Ptr<Node> node0 = nodes.Get(0); .// to access node,<br></div><div><br></div><div>std::cout << "Missed Int for node 0  : " << node0->GetObject<ns3::ndn::L3Protocol>()->getForwarder()->getNameTree()->size() << std::endl;<br></div><div>// To get information.</div><div><br></div><div>Strangely, it only works until  "node0->GetObject<ns3::ndn::L3Protocol>()->getForwarder()" but not further than it.<br>I cannot access getPit or whatsoever.</div><div><br></div><div>I was using this approach because of the code in the visualizer.</div><div><br></div><div><a href="https://github.com/NDNUtils/NDNSIM/blob/master/src/visualizer/visualizer/core.py#L401-L414">https://github.com/NDNUtils/NDNSIM/blob/master/src/visualizer/visualizer/core.py#L401-L414</a></div><div><br></div><div>Can anyone of you tell me how to assess the information? such as getPit(), getNameTree() and so on?</div><div><br></div><div>Best wishes,</div><div><br></div><div>inchan hwang</div></div>