public IOccWire PlaceWire( LibWire wire, IPinBase pin1, IPinBase pin2, List<TransformProperty<LengthProperty>> controlPointsPositions, ApiLinkType linkType )
Parameters
- wire
- Wire from library to be placed.
- pin1
- Initial pin from which the wire will lead.
- pin2
- End pin to which the wire will lead.
- controlPointsPositions
- Points defining wire route (can be empty).
- linkType
- Determines if part's accessories will be placed with part. Mandatory, Optional, both types or None accessories can be placed. This enum has the Flags attribute. Default is mandatory accessories.
Return Value
Created wire occurrence.