Message 1 of 9
Not applicable
05-22-2017
05:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello
Please I need your help ..how can I pait a Extrude face with a RGB color en VBA, .... I don know use the method, I try but it does not work
Public Sub Pinta()
Dim oFace As Face
Set oFace = oExtrude.EndFaces.Item(1) 'The face
Dim oRed As Color
Set oRed = ThisApplication.TransientObjects.CreateColor(200, 12, 100) 'RGB values
Dim oStyle As RenderStyle
Set oStyle = oPartDoc.RenderStyles.oRed
Call oFace.SetRenderStyle(kOverrideRenderStyle, oStyle)
End Sub
Please help me
Thanks
Please I need your help ..how can I pait a Extrude face with a RGB color en VBA, .... I don know use the method, I try but it does not work
Public Sub Pinta()
Dim oFace As Face
Set oFace = oExtrude.EndFaces.Item(1) 'The face
Dim oRed As Color
Set oRed = ThisApplication.TransientObjects.CreateColor(200, 12, 100) 'RGB values
Dim oStyle As RenderStyle
Set oStyle = oPartDoc.RenderStyles.oRed
Call oFace.SetRenderStyle(kOverrideRenderStyle, oStyle)
End Sub
Please help me
Thanks
Solved! Go to Solution.
