Message 1 of 2
export sketch on a developed sheet metal with ilogic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everybody,
I put a sketch on a developed sheet metal part. It is controlled by "Project geometry" and differs somewhat from the developed sheet metal part. With the right mouse button on the sketch I can export it as .dxf.
Now I would like to have the whole thing done via ilogic, but I just can't get to this sketch.
my attempt with:
Dim oDoc As Document = ThisApplication.ActiveDocument Dim oCD As SheetMetalComponentDefinition = oDoc.ComponentDefinition Dim oSketch As Sketch = oCD.Sketches.Item("Skizze_Abwicklung") If oSketch Is Nothing Then Exit Sub oDoc.SelectSet.Select(oSketch)
is dismissed with the error message "wrong parameter".
Even in an .idw, I cannot display this sketch in isolation.
Does somebody has any idea?
Thanks in advance!
Martin
Martin