iLogic - Component Placement via iLogic & Form to Drawings

iLogic - Component Placement via iLogic & Form to Drawings

Anonymous
Not applicable
559 Views
1 Reply
Message 1 of 2

iLogic - Component Placement via iLogic & Form to Drawings

Anonymous
Not applicable

Hello

 

I am looking for a way to add a button to my form that pops up when I create a new drawing. So that everything is done via the form. this is my last bit I am struggling with now. Is there a way to do this and how?

 

Regards,

MJ

0 Likes
Accepted solutions (1)
560 Views
1 Reply
Reply (1)
Message 2 of 2

jmfowler1996
Advocate
Advocate
Accepted solution

Hi there.

 

 

 

This is how to open a form on the creation of a new document:

 

 

1. Create a new rule ( call it something like 'Open Form' ).

2. Paste this code into the rule and accept:

 

 

iLogicForm.Show("My Form")

 

   -Obviously substitute "My Form" with the name of your form.

 

3. Navigate to Ribbon -> Manage -> iLogic -> Event Triggers -> New Document.

 

4. Select "New Document" and click "Select Rules...".

 

5. Here, just toggle on your new rule ("Open Form") and accept.

 

 

 

This is how to use the iTrigger as a button to open your form:

 

1. Create a new rule ( call it something like 'Open Form' ). -or use the existing one if you have it.

 

2. Paste this code into the rule and accept:

 

 

trigger = iTrigger0
iLogicForm.Show("My Form")

 

   -Obviously substitute "My Form" with the name of your form.

 

3. Navigate to Ribbon -> Manage -> iLogic -> iTrigger

 

4. Right-click on iTrigger and select "Add to Quick Access Toolbar".

 

5. Now just click on the little iTrigger symbol whenever you want to open the form.

 

 

 

How to add a marking menu (right-click and drag) shortcut to open your form:

 

1. Create an iTrigger shortcut as above.

 

2. Navigate to Ribbon -> Tools -> Options -> Customize -> Marking Menu.

 

3. Choose the sub-environment you want to use for the shortcut. I use a 'Ctrl + Right-Click' sub, but you will probably want "None Selected".

 

4. Choose a button to become your shortcut. Click it and then use the search box to find "iTrigger". Click it from the list and apply your changes.

 

 

 

I hope this solves your problem. I would be happy to help if something goes wrong.

 

Good luck.

Jonathan

0 Likes