Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How to use a TextureMap Object on the face. There is no detailed information in Help API.
Dim oDoc As PartDocument
Set oDoc = ThisApplication.ActiveDocument
Dim oCompDef As PartComponentDefinition
Set oCompDef = oDoc.ComponentDefinition
Dim oBody As SurfaceBody
Set oBody = oCompDef.SurfaceBodies.Item(1)
Dim oFace As Face
For i = 1 To oBody.Faces.Count
Set oFace = oBody.Faces.Item(i)
Next
Dim oTextureMap As TextureMap
Set oTextureMap = oFace.TextureMaps.Item(1) /The program gives an error (Object variable not set (Error 91)
Object variable or With block variable not set)
Solved! Go to Solution.