
System.Object
EPLAN.Harness.API.Occurrences.Nailboard.WireHarnessNbComponent
public class WireHarnessNbComponent
// Get Wire harness occurrence from Nailboard drawing. OccNbWireHarness harness = GetWireHarness(); // Start from point [0;0]. LengthProperty xPosition = new LengthProperty(0, Unit.Millimeter); LengthProperty yPosition = new LengthProperty(0, Unit.Millimeter); foreach (WireHarnessNbComponent comp in harness.WireHarnessComponents) { comp.Position = new Transform2DProperty<LengthProperty>(xPosition, yPosition); // Next wire harness component above the current one. yPosition += comp.Height; }
Name | Description | |
---|---|---|
![]() | Children | Occurrences from which this wire harness component is rendered. |
![]() | Height | Height of the wire harness component in drawing. |
![]() | ParentWireHarness | The parent wire harness occurrence. |
![]() | Position | Gets the 2D position in drawing. |
![]() | Width | Width of the wire harness component in drawing. |