The truss will act as a rope if switch is set to -yes. This means that negative forces will not be allowed (the force remains zero in compression). The index specifies the element_group, see element_group.