First time form

First time form

MKE_Howard
Collaborator Collaborator
309 Views
2 Replies
Message 1 of 3

First time form

MKE_Howard
Collaborator
Collaborator

Hi Im searching for a ilogic code that can open a form like this :

iLogicForm.Show("Form")

But it needs to open only the first time de document is open. Is that Possible. I know with the event trigger you can do a lot but I don't know how. Thanks

0 Likes
Accepted solutions (1)
310 Views
2 Replies
Replies (2)
Message 2 of 3

Gabriel_Watson
Mentor
Mentor
Accepted solution
You can save a property that acts as a flag of whether or not the rule has been run before. You can set the iLogic trigger to run the rule every time the file is open, but a quick test of the property/flag would tell it has been run before (or the input has been given already).
0 Likes
Message 3 of 3

MKE_Howard
Collaborator
Collaborator

Thanks Galaxybane But I had another problem with that.. Everytime I open my drawing document, the form appear so from the .iam I made this rule and put it in my event trigger. Heres the code if anyone needs it.

If ThisApplication.ActiveDocument Is ThisDoc.Document Then
	iLogicForm.Show("Name Of The Form") 'Type here the name of the form
End If

 

 

 

0 Likes