EBDN - Community - Question & Answers

  Monday, 23 September 2024
  6 Replies
  453 Visits
0
Votes
Undo
Hi,

How to add multiple object item to the cable destination 1. I can add only one object item.
How to remove destination from the cable.

Dim oCableDestinationColls As Aucotec.CableDestinations
Set oCableDestinationColls = oCable.Destinations
oCableDestinationColls.Remove 1 ' Not working

Dim od As Aucotec.ObjectItem
Set od = oCableDestinationColls.Item(2).RelatedObject.Parent
oCableDestinationColls.AddNew od ' Here I can add only one object item.

And also how to add object item to Cable destination2.

Please ASAP