Skip to main content

declared_point_endpoints

Function declared_point_endpoints 

Source
pub fn declared_point_endpoints(
    occurrence: &str,
    part_document: &Value,
) -> Vec<WireHarnessEndpoint>
Expand description

A placed component’s connection points, namespaced — the shape resolve_component_pin reads when a caller has the part’s declarations rather than a routing report (an eCAD refresh before the new parts have run).

occurrence is the chain the points are placed under, so a device nested a level down passes ACOMP7:ACOMP1 and its points address as ACOMP7:ACOMP1:J1.VCC. WireHarnessEndpoint::component is the OUTERMOST occurrence, which is what the scene lane’s owning_component reports for the same address.