Quantcast
Channel: SYNCHRO Construction Solution
Viewing all articles
Browse latest Browse all 6333

Forum Post: RE: Help for writing a Synchro script

$
0
0
Hi, i like your question! I think Jacqueline has answered the second part of your purpose but the first one is really interesting. You can use VAR in this case. VAR is used in some command with second object argument. There are two possibilities for assigning the resource assignments of the first task to the other two tasks. : 1. Select the appropriate resources and use this script: RESOURCE(SELECTED) ASSIGN_OBJECT(VAR TASK(UFV("Task Name Augmentor")=="xxx")) TASK(UFV(" Task Name Augmentor ")=="xxx").ASSIGNMENT SET_PROPERTY( PROPERTY("Appearance Profile"), ALL_USE_PROFILE( NAME == "Install" )) 2. Select the appropriate tasks and use this script: TASK(SELECTED) ASSIGN_OBJECT(VAR TASK(UFV(" Task Name Augmentor ")=="xxx").ASSIGNMENT) TASK(UFV(" Task Name Augmentor ")=="xxx").ASSIGNMENT SET_PROPERTY( PROPERTY("Appearance Profile"), ALL_USE_PROFILE( NAME == "Install" )) I'm quite sure that the first possibility works well. For the second possibility, i have a doubt because i'm not sure if the VAR command can apply to multiple object like TASK.ASSIGNMENT Hope that is useful for you! Best Regards, QSN

Viewing all articles
Browse latest Browse all 6333

Trending Articles