Message 1 of 2
rename constrains -- Patrick

Not applicable
11-15-2001
08:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How do you run this Patrick routine.
Ole
Public Sub RenameConstrByParts()
Dim oAsmCompDef As
AssemblyComponentDefinition
Set oAsmCompDef =
ThisApplication.ActiveDocument.ComponentDefinition
Dim
oConstraint As AssemblyConstraint
For Each oConstraint In
oAsmCompDef.Constraints
oConstraint.Name = oConstraint.OccurrenceOne.Name & " - " &
oConstraint.OccurrenceTwo.Name
Next
End Sub