Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Folks,
Does anyone know how I can run an iLogic rule from a form without having the rule button on the form.
I have a form which modifies model properties (Title, Checked by Name, Checked by Date, etc.).
However, when this form is displayed I'd like to run a rule automatically which checks the properties being edited belong to a part or an assembly file. I don't wish to change any properties associated with the drawing as the title block is populated from the model properties.
This is my rule:
'check that the active document is a drawing file If ThisApplication.ActiveDocument.DocumentType = kDrawingDocumentObject MessageBox.Show("Please run this rule from a PART or ASSEMBLY file.", "iLogic") Exit Sub End If
I can't see a trigger which would do the job.
This seems like a fairly simple thing to do, but I just cant seem to figure it out.
Any clues??
Thank You
Regards
Darren
Solved! Go to Solution.