# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script # - /tmpEED/creaTools/creatools_source/bbtk/packages/std/bbs/appli/exampleSetElementVector.bbs # ---------------------------------- # BBTK GEditor Script # ---------------------- include std include itkvtk include std include wx author "Author ??" description "Description ??" category "" new std:GetVectorStringPointer Box01 set Box01.In "A B C D E" new std:SetElementVectorVectorString Box02 set Box02.I "2" set Box02.Value "2" new wx:OutputText Box03 new wx:LayoutSplit Box04 new wx:Slider Box05 set Box05.ReactiveOnTrack "true" connect Box05.Widget Box04.Widget1 connect Box05.BoxChange Box03.BoxExecute connect Box05.BoxChange Box02.BoxExecute connect Box05.Out Box02.Value connect Box03.Widget Box04.Widget2 connect Box01.PVec Box02.PVec connect Box02.Vec Box03.In # Complex input ports exec Box04