Lookup a Component by its GUID :param guid: GUID of the component to look up :return: The Component with that Guid
(self, guid: str)
| 7071 | core.BNNotifyDataRemoved(self.handle, offset, length) |
| 7072 | |
| 7073 | def get_component(self, guid: str) -> Optional[component.Component]: |
| 7074 | """ |
| 7075 | Lookup a Component by its GUID |
| 7076 | |
| 7077 | :param guid: GUID of the component to look up |
| 7078 | :return: The Component with that Guid |
| 7079 | """ |
| 7080 | bn_component = core.BNGetComponentByGuid(self.handle, guid) |
| 7081 | if bn_component is None: |
| 7082 | return None |
| 7083 | return component.Component(bn_component) |
| 7084 | |
| 7085 | def get_component_by_path(self, path: str) -> Optional[component.Component]: |
| 7086 | """ |