System.Object
EPLAN.Harness.API.Occurrences.CableDrawing.CableUnitCdComponent
System.Object
EPLAN.Harness.API.Occurrences.CableDrawing.CableUnitCdComponent
public class CableUnitCdComponent
// Get Cable unit occurrence from Cable drawing. OccCdCableUnit cableUnit = GetCableUnit(); // Start from point [0;0]. LengthProperty xPosition = new LengthProperty(0, Unit.Millimeter); LengthProperty yPosition = new LengthProperty(0, Unit.Millimeter); foreach (CableUnitCdComponent comp in occ.CableUnitComponents) { comp.Position = new Transform2DProperty<LengthProperty>(xPosition, yPosition); // Next wire harness component next to the current one. xPosition += comp.Width; }
Name | Description | |
---|---|---|
Children | Occurrences of which this cable unit component is composed. | |
Height | Height of the cable unit component in drawing. | |
ParentCableUnit | The parent cable unit occurrence. | |
Position | Gets the 2D position in drawing. | |
Width | Width of the cable unit component in drawing. |