iLogic replace Custom Content Center Part

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey everybody,
I need a little bit of help on one of my iLogic rules.
What I want to do is basically replace a custom content center part based on calculations made in an iLogic configuration assembly. I have a plate in the CC, in the directory EGSL. It is named EGSL-1. It has two custom parameters "a" and "b" (default 500, 500). The part number is generated as following: "EGSL-1 "&a&"-"&b. So I have "EGSL-1 500-500" (default part is already inserted in the assembly). I want to change it to be 900 and 900. So the part number should be "EGSL-1 900-900"
I'll attach the code I have right now. I am stuck at the point where I have to create the new member. So the create member method doesn’t work for me.
I have tried to look up a lot of forums and threads, but all solutions are made for parts with standard parameters, so they know which row they want to insert. In my case I have only one row in my CC family table and with these two custom properties I can have an infinite range of parts.
Any help would be greatly appreciated. !
Thank in advance