[ Ecouter ce morceau ] [ Ajouter ce morceau à mon blog ]
- Titre : yakhti mafhamtech achsaletak 3liya
- Album : chabasghira ou magheribiya
- Année : 2008
Paroles :
if result == 1: # OK buttonApp.Do( Environment, 'LayerMergeVisible', {}, Doc )
IncludeDoc = 1
elif result == 0: # Cancel button
result = App.Do(Environment, 'MsgBox', {
'Buttons': App.Constants.MsgButtons.YesNo,
'Icon': App.Constants.MsgIcons.Question,
'Text': 'Do you wish to cancel the entire script?'
})
if result == 1:
return # give up
elif LayerType == App.Constants.LayerType.Vector:
MsgText = 'Image %s is vector.\n' \
'Press OK to to convert to a raster layer.\n' \
'Press CANCEL to leave this image out of the tube.\n' % Doc.Title
result = App.Do(Environment, 'MsgBox', {
'Buttons': App.Constants.MsgButtons.OKCancel,
'Icon': App.Constants.MsgIcons.Question,
'Text': MsgText
})
if result == 1: # OK button
App.Do( Environment, 'LayerConvertToRaster', {}, Doc )
IncludeDoc = 1
elif result == 0: # cancel button
result = App.Do(Environment, 'MsgBox', {
'Buttons': App.Constants.MsgButtons.YesNo,
'Icon': App.Constants.MsgIcons.Question,
'Text': 'Do you wish to cancel the entire script?'
})
if result == 1:
return # give up
})
if result == 1:
return # give up
else:
IncludeDoc = 1 # image was fine just the way it is
clickhere http://www.youtube.com/user/fdeliazi
# if we are going to use this document add it to our list and
# update the needed cell size
if IncludeDoc:
