Message 1 of 2
Update assembly
Not applicable
04-08-2002
06:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I m trying to update the changes Ive made in a part of an assembly, save this assembly and then open the drawing related to the assembly. The problem is that the saved assembly isnt the updated version, but just the old one. It seems that before the entire assembly is updated, its already saved. Is there a possibility to delay the saving until the updating is done?
Thanks,
Peter
Ps. Here is the code:
deleting some features of the part
For Each oFeat In oOcc1.Definition.Features
If oFeat.Name = "Dim" & i & "_FU" Then
oFeat.Delete
End If
Next
updating the assembly and saving it
oAssDoc.Update
oApp.SilentOperation = True
oAssDoc.Save
oApp.SilentOperation = False
opening the drawing related to the assembly
Set oDrwDoc = oApp.Documents.Open(sPath & "workspace.idw", True)
I m trying to update the changes Ive made in a part of an assembly, save this assembly and then open the drawing related to the assembly. The problem is that the saved assembly isnt the updated version, but just the old one. It seems that before the entire assembly is updated, its already saved. Is there a possibility to delay the saving until the updating is done?
Thanks,
Peter
Ps. Here is the code:
deleting some features of the part
For Each oFeat In oOcc1.Definition.Features
If oFeat.Name = "Dim" & i & "_FU" Then
oFeat.Delete
End If
Next
updating the assembly and saving it
oAssDoc.Update
oApp.SilentOperation = True
oAssDoc.Save
oApp.SilentOperation = False
opening the drawing related to the assembly
Set oDrwDoc = oApp.Documents.Open(sPath & "workspace.idw", True)