Message 1 of 5
Setting WireType

Not applicable
03-02-2012
06:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Trying to very simply create a Wire. Having issues establishing the WireType. Here is the pertinent code:
Connector c1 = null;
Connector c2 = null;
WireType wType = ?????
WiringType wingType = WiringType.Arc;
Wire wire = doc.Create.NewWire(wireCurve, curView, c1, c2, wType, wingType);
How do I set the WireType? There may actually be more things wrong here, but I feel like this is my stumbling block.
Thanks.