- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm trying to place configurable models using "Place iLogic Component" functionality.
This works pretty good, but I want to kill the 2nd instance under the cursor after placing
Attached i have added 2 files.
In testassy2.iam I have 3 rules.
Script: normal - shows a working placement of testpart.ipt in the assembly using ilogic copy design.
But got the problem mentioned above, user has to cancel 2nd instance.
I managed to kill the 2nd instance with rule: "test with event no removehandler".
From a user point of view: this does exactly what I want. 2nd instance under cursor is killed and form still functions normally.
Problem is that this rule remains active with the event on new occurrence.
When I add a 2nd occurrence, there are 2 rules responding to event.
When adding 3th i get 3 rules, etc etc. So this is not good.
Then i got rule: "test with event"
This gives weird errors. The object cannot be saved, I get errors making chances in the form, or closing the form.
Hopefully someone here can give me insight what is happening and how to solve it
Solved! Go to Solution.