PartUtils.GetChainLengthToOriginal
Method
Description:
Calculates the length of the longest chain of divisions/merges to reach to an original non-Part element that is the source of the tested part.
Calculates the length of the longest chain of divisions/merges to reach to an original non-Part element that is the source of the tested part.
Parameters
Parameter | Type | Description |
---|---|---|
part | Part | The part to be tested |
Return Value
Type | Description |
---|---|
Int32 | The length of the longest chain. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |