Assembly.find

Assembly.find(guid)[source]

Find a part in the assembly by its GUID.

Parameters

guid (str) – A globally unique identifier. This identifier is automatically assigned when parts are created.

Returns

compas.datastructures.Part | None – The identified part, or None if the part can’t be found.