12-14-2022
05:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
12-14-2022
05:18 PM
I haven't got to use model states yet but my assumption is that it is very similar to iparts. Here is a link to ipart workflow.
This is the business portion of ipart view change for member.
*********
For i = 1 To iPartF.TableRows.Count - 1
Set oPartDoc = oView.ReferencedDocumentDescriptor.ReferencedDocument
Dim sPath As String
sPath = Replace(oPartDoc.FullFileName, iPartF.FileNameColumn(i).Value, iPartF.FileNameColumn(i + 1).Value)
Call iPartF.CreateMember(i + 1)
Call oView.ReferencedDocumentDescriptor.ReferencedFileDescriptor.ReplaceReference(sPath)
If this solved a problem, please click (accept) as solution.
Or if this helped you, please, click (like)
Regards
Alan
Or if this helped you, please, click (like)
Regards
Alan