use status of a task as input to a python script od another component

Forum Forums Visual Components 4.1 Python Programming in VC use status of a task as input to a python script od another component

This topic contains 2 replies, has 2 voices, and was last updated by Avatar luigituc 2 months, 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18369
    Avatar
    luigituc
    Participant

    I have a simple model in visual components: A worker who picks up a part (create task + feed part in work process 1) and drop it on another location (need task on work process 2). Is it possible to check the status of the “pick up” task and hide a component if the aforementioned status is true?

    I am able to hide the component with this script

    comp = getComponent()
    comp.Visible= True

    how can I input the task status in the script?

    0
    #18546
    Avatar
    jouha
    Moderator

    Hi @luigituc

    Do you want to hide the component that is being picked by the worker or some other component?

    0
    #18557
    Avatar
    luigituc
    Participant

    Hi @jouha,

    I’d like to hide another component

     

    0
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.