Could I make in edit an assembly's part?



I'm non expert to program with Solid Edge ST3, I have this problem:

I have an assembly with 2 part, I select 1 part and i' d like to edit this part, write properties and save with name.


I write this code:

Dim oiDoc As SolidEdgeFramework.SolidEdgeDocument


oiDoc = SEApplication.ActiveDocument.SelectSet.item(1).OccurrenceDocument



But Activate send me an non specified error, if i try to saveas whitout edit send me it's not possible to save a file.


Someone Can Help me to resolve my problem?


Thanks I excuse me for my english.


Posted by: Serena Meiattini
Post date: 1/6/2011 11:27:03 PM


RE: Could I make in edit an assembly's part?

if you want to save that occurence please call "makewriteable" method on that occurrence,it will works



Posted by: prasad k
Post date: 11/23/2011 1:07:12 AM