get_by_id method

get_by_id(id)

Finds and returns a custom XML part by its identifier.

def get_by_id(self, id: str):
    ...
ParameterTypeDescription
idstrCase-sensitive string that identifies the custom XML part.

Returns

Returns None if a custom XML part with the specified identifier is not found.

See Also