
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I want change properties (color and thickness) of sketch line in assembly/part, when I have open assembly,but not active sketch.
Rule:
Dim oSketch as Sketch
oSketch=thisApplication.ActiveEditObject ´here is a problem, because rule run only when is sketch active!!!
Dim oColor as color
oColor = thisApplication. TransientObject.CreateColor(0,0,0)
osketch.SketchLines(2).OverrideColor=oColor
---------------------
Question are:
1) How will run rule, when is sketch not active, but I have assembly/part open?
2) How change thickness of sketch line??
3) Where/how find out how is named this line/curve in sketch?? ( SketchLines(2) or SketchLines(99) )
4) command for white color??
Thanks for your time and reply!
Solved! Go to Solution.