Message 1 of 12

Not applicable
03-15-2019
01:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to set the sketchblock layer color to red in a part. What am i doing wrong??
Here is the code:
oline=ThisApplication.CommandManager.Pick(SelectionFilterEnum.kSketchBlockFilter,"Select a SketchBlock") oBlock01=oline.ContainingSketchBlock Dim oColor As Color oColor = ThisApplication.TransientObjects.CreateColor(255, 0, 0) oBlock01.Color.Setcolor=oColor
change
Solved! Go to Solution.