select_parts_by_tag#

Parts.select_parts_by_tag(tag: str | None = None, value: str | None = None, tagdict: Dict[str, str] | None = None) ensobjlist[ENS_PART]#

Select parts by the input dimension and return the parts found.

Parameters:
tagstr, optional

Tag for finding the parts.

valuestr, optional

Value for finding the parts.

tagdictdict, optional

Dictionary containing the key and value pairs for finding the parts. Only the parts that have all the keys and corresponding values are returned. If a value for this parameter is supplied, it takes precedence over the valeus supplied for the tag and value parameters.

Returns:
ensobjlist[“ENS_PART”]

List of parts found. If no arguments are given, all parts are returned.