Message 1 of 3
Programmically selecting Face for unfold

Not applicable
07-17-2006
12:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am currently locating a face by using the planarentity property from a Planarsketch obect.
I then use the Selectset.Select method to select the face before I use the sheetmetalcomponentdefinition.unfold() method.
It doesn't seem to give me the same flat pattern as when I manually select the face before and unfold.
(Usually the reverse face is generated.)
Am I doing something wrong?
[code]
Set oFace = oSketch.PlanarEntity
Call oSelectSet.Clear
Call oSelectSet.Select(oFace)
oComp.Unfold
[/code]
Thanks,
~Tom
I then use the Selectset.Select method to select the face before I use the sheetmetalcomponentdefinition.unfold() method.
It doesn't seem to give me the same flat pattern as when I manually select the face before and unfold.
(Usually the reverse face is generated.)
Am I doing something wrong?
[code]
Set oFace = oSketch.PlanarEntity
Call oSelectSet.Clear
Call oSelectSet.Select(oFace)
oComp.Unfold
[/code]
Thanks,
~Tom