Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear All,
Could you help me the iLogic Code to change the face's color in the part?
I tried this code but I got the error message:
Dim oDOC As PartDocument = ThisApplication.ActiveDocument
Dim oFACE = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kPartFaceFilter, "Select an Item")
Dim oColour As String = "Red"
Dim oStyle As RenderStyle = oDOC.RenderStyles.Item(oColour)
oFACE.SetRenderStyle(kOverrideRenderStyle, oStyle)
The Error
Thanks!
Solved! Go to Solution.