10133 : CurrentDataEntityGantArea does not return object that was set to selected using code.


I set a time element using objTimeElement.selected = True.  The handles appear on the object showing that it is indeed selected.  However, the method CurrentDataEntityGantArea does not return a reference to that object.  I think I understand why – multiple items can be selected, but only one of them can be the current data item.  The question then is how can I set the currentDataEntityGantArea from Code?


Correct. The selection is one thing, and the Focused or Current time item is another thing.

Selection state is controlled with dataEntity.Selected=true/false
And Focus/Current is controlled with IphGantX3.SetCurrentDataEntityGantArea(dataentity).

Leave a Reply