Message 1 of 15

Not applicable
08-20-2018
06:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I've tried to use "sketch.redefine" syntax according to steps pre described here:
but It doesn't work and I don't know why.
Below the snippet of code I've made:
SyntaxEditor Code Snippet
Dim oDoc As PartDocument oDoc = ThisDoc.Document Dim oDef As PartComponentDefinition oDef = oDoc.ComponentDefinition Dim oSketch As PlanarSketch oSketch = oDef.Sketches.Item(1) Sketch.Redefine(oSketch.Name,"P�aszczyzna XY","Punkt �rodkowy","X",AxisIsX := True,NaturalAxisDirection:= True)
The idea is to check and redefine existing sketch on the XY plane.
Thanks in advance for any help.
Tomek
Solved! Go to Solution.