Message 1 of 2
Apprentice Server and SheetMetalStyle

Not applicable
12-20-2011
12:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm wondering if it's possible to access the ActiveSheetMetalStyle using Apprentice?
I have the following code, but it crashes on the last line, saying "Not Implemented":
Inventor.ApprenticeServerComponent apprentice = new Inventor.ApprenticeServerComponent();
Inventor.ApprenticeServerDocument invDoc = apprentice.Open(filename);
Inventor.SheetMetalComponentDefinition smComp = invDoc.ComponentDefinition as Inventor.SheetMetalComponentDefinition;
Inventor.SheetMetalStyle smStyle = smComp.ActiveSheetMetalStyle;
If I can't do this through Apprentice Server, is there another way to get the sheet metal style? Maybe through the properties?
Thanks,
Tom