Hi,
I have a global form having many ilogic rule linked.
Working of Global form
1.Open assembly by clicking in global form
*then I have to close global form and again open to activate rules and other values of assembly
2. open drawing by clicking in global form
*then again I have to close global form and again open to activate rules and other values of assembly
so and so.....
is there any ilogic rule or something that i can add in rules so that I can avoid closing and opening global form again and again?
Hello,
Have you used Event Triggers before?
You can use Event Triggers to trigger a rule when opening a document.
On the manage tab, you will see Event Triggers. In the iLogic section.
Once selected Event Triggers, select the trigger you want, in your case after open document, click select rules, then select the rules you want.
Then when you open a .ipt it will run these rules.
I have not used Global Forms a lot.
But this could be something that could work for you?
Hope this hepls?
Thomas.
sorry, it will not work for me.
I need something with ilogic rule externally operated.
Thank you,
Hey @anilkumar279,
You want the global iLogic form to be closed without user's manually operation after some certain rule be run, right? I didn't find a way in iLogic to close iLogicForm without manually operation, perhaps using spy tool to catch iLogic form ID and closing it using windows API is doable.
Hi,
is there anything from which global from can get vaules from latest open part or assembly
right now i have a external rule which open
SyntaxEditor Code Snippet
ThisApplication.Documents.Open("C:\temp\assembly-A.iam",True)
after opening assembly-A.iam global form not taking parameter from assembly-A. (it takes vaule from assembly or part from which i have opened)
Thank you,
Hello,
Sorry that there isn't a workaround for this issue for now. It has been tracked in the issues system. Thank you for reporting.
Hi,
6 versions have already passed if I count 2023 and the solution is nowhere. When will the solution be?
Write down iLogicForm.ShowGlobal("Your Form") at the end of your rule that opens assembly, drawing, etc. Then open xml file of your form in UI folder, find there your rule and add 'CloseAnd' to rule button behavior.
<RuleName>OPEN_RULE</RuleName>
<RuleButtonBehavior>CloseAndRunRule</RuleButtonBehavior>
<Path>OPEN_RULE.iLogicVb</Path>
i tried and it works for me now.
Many thanks this is very helpful
cheers
no sorry it doesen't work☹️
Can't find what you're looking for? Ask the community or share your knowledge.