Ответ: Нужен ли такой макрос?
короче во что есть типо записано в режиме Record
Sub Macro2()
'
' Recorded 06.03.2007
'
' Description:
'
'
Dim OrigSelection As ShapeRange
Set OrigSelection = ActiveSelectionRange
Dim eff1 As Effect
Set eff1 = OrigSelection(1).CreateExtrude(cdrExtrudeSmallBack, cdrVPLockedToShape, 0#, -0.599516, 20#, cdrExtrudeObjectFill, CreateCMYKColor(100, 0, 100, 0), CreateCMYKColor(0, 0, 0, 100), 0.01, 45#, CreateCMYKColor(100, 0, 100, 0), False)
With eff1.Extrude
.UseBevel = False
.UseExtrudeColorForBevel = True
.UseFullColorRange = True
.Rotate 0#, 0#, 0#
.LightPresent(1) = False
.LightPresent(2) = False
.LightPresent(3) = False
End With
Set eff1 = OrigSelection(1).CreateExtrude(cdrExtrudeBackParallel, cdrVPLockedToShape, 0#, -0.599516, 20#, cdrExtrudeObjectFill, CreateCMYKColor(100, 0, 100, 0), CreateCMYKColor(0, 0, 0, 100), 0.01, 45#, CreateCMYKColor(100, 0, 100, 0), False)
With eff1.Extrude
.UseBevel = False
.UseExtrudeColorForBevel = True
.UseFullColorRange = True
.Rotate 0#, 0#, 0#
.LightPresent(1) = False
.LightPresent(2) = False
.LightPresent(3) = False
End With
Set eff1 = OrigSelection(1).CreateExtrude(cdrExtrudeBackParallel, cdrVPLockedToShape, 0#, -0.735362, 20#, cdrExtrudeObjectFill, CreateCMYKColor(100, 0, 100, 0), CreateCMYKColor(0, 0, 0, 100), 0.01, 45#, CreateCMYKColor(100, 0, 100, 0), False)
With eff1.Extrude
.UseBevel = False
.UseExtrudeColorForBevel = True
.UseFullColorRange = True
.Rotate 0#, 0#, 0#
.LightPresent(1) = False
.LightPresent(2) = False
.LightPresent(3) = False
End With
Set eff1 = OrigSelection(1).CreateExtrude(cdrExtrudeBackParallel, cdrVPLockedToShape, 0#, -0.735362, 20#, cdrExtrudeObjectFill, CreateCMYKColor(100, 0, 100, 0), CreateCMYKColor(0, 0, 0, 100), 0.01, 45#, CreateCMYKColor(100, 0, 100, 0), False)
With eff1.Extrude
.UseBevel = False
.UseExtrudeColorForBevel = True
.UseFullColorRange = True
.Rotate 0#, 0#, 0#
.SetLight 1, cdrLightFrontTopRight, 100
.LightPresent(2) = False
.LightPresent(3) = False
End With
Set eff1 = OrigSelection(1).CreateExtrude(cdrExtrudeBackParallel, cdrVPLockedToShape, 0#, -0.735362, 20#, cdrExtrudeObjectFill, CreateCMYKColor(100, 0, 100, 0), CreateCMYKColor(0, 0, 0, 100), 0.01, 45#, CreateCMYKColor(100, 0, 100, 0), False)
With eff1.Extrude
.UseBevel = False
.UseExtrudeColorForBevel = True
.UseFullColorRange = True
.Rotate 0#, 0#, 0#
.SetLight 1, cdrLightFrontTopRight, 100
.SetLight 2, cdrLightFrontTopRight, 100
.LightPresent(3) = False
End With
Set eff1 = OrigSelection(1).CreateExtrude(cdrExtrudeBackParallel, cdrVPLockedToShape, 0#, -0.735362, 20#, cdrExtrudeObjectFill, CreateCMYKColor(100, 0, 100, 0), CreateCMYKColor(0, 0, 0, 100), 0.01, 45#, CreateCMYKColor(100, 0, 100, 0), False)
With eff1.Extrude
.UseBevel = False
.UseExtrudeColorForBevel = True
.UseFullColorRange = True
.Rotate 0#, 0#, 0#
.SetLight 1, cdrLightFrontTopRight, 100
.SetLight 2, cdrLightFrontLeft, 100
.LightPresent(3) = False
End With
ActiveSelection.Separate
' Recording of this command is not supported: SplitDualSpotObject
End Sub