Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have created an assembly iLogic rule which shows a form which includes parameter entries that I would like to write to custom properties. <see snippet below>
Sub Main iLogicForm.Show("FRM_AAI-PROJECT") 'set property value to match parameter iProperties.Value("Custom", "DISTRIBUTOR") = Parameter("DISTRIBUTOR") iProperties.Value("Custom", "REP") = Parameter("REP") iProperties.Value("Custom", "BUILDER") = Parameter("BUILDER") iProperties.Value("Custom", "ASSIGNED TO") = Parameter("ASGN_TO") iProperties.Value("Custom", "SLIDE") = Parameter("SLIDE") iProperties.Value("Custom", "FEEDER") = Parameter("FDR") iProperties.Value("Custom", "DRIVER") = Parameter("DRVR") iProperties.Value("Custom", "DRIVER MFG") = Parameter("DRVR_MFG") iProperties.Value("Custom", "DRIVER MODEL") = Parameter("DRVR_MDL") iProperties.Value("Custom", "APPR. DWG REQ.") = Parameter("APPR_DWG_REQ") iLogicVb.UpdateWhenDone = True Dim valName As String Dim oDoc As Document = ThisApplication.ActiveDocument Dim oAsmCompDef As AssemblyComponentDefinition = oDoc.ComponentDefinition Dim oTG As TransientGeometry = ThisApplication.TransientGeometry Dim oMatrix As Matrix = oTG.CreateMatrix Call oMatrix.SetTranslation(oTG.CreateVector(0, 0, 0)) valName= iProperties.Value("Custom", "SERIAL NUMBER") Dim oOcc As ComponentOccurrence oOcc = oAsmCompDef.Occurrences.AddVirtual(valName & " APPROVAL DWG", oMatrix) oOcc = oAsmCompDef.Occurrences.AddVirtual(valName & " KIT LIST", oMatrix) oOcc = oAsmCompDef.Occurrences.AddVirtual(valName & " WORK ORDER", oMatrix) oOcc = oAsmCompDef.Occurrences.AddVirtual(valName & " MANUAL", oMatrix) oOcc = oAsmCompDef.Occurrences.AddVirtual(valName & " REQ MEDIA", oMatrix) End Sub
the problem i'm running into is that I do not want the parameters to wriute to custom iProperties until after he form is complete. ie the Done button is pressed.
Is there anyway to trigger either a separate rule or trigger continuation of this rule upon completion of the form?
Solved! Go to Solution.