- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm stuck trying to figure out what seems to be a simple iLogic function: Place a box of a certain size from Content Center into the assembly.
In Content Center I have a child node called "Features", in there is a family called "Shipping Box"
There are 3 parameters, "Length", "Height", and "Depth", each have a minimum of 1 inch and only allow increments of 1 inch.
The problem as far as I can tell is that using the API to find and place Content Center parts is entirely dependent on finding a specific pre-defined row in that content center family. Obviously this isn't feasible for my use case, I don't want to spend time generating millions of unique rows in this table, I'm not even sure the software could handle that.
Hopefully it's just a simple thing I'm missing. Thanks for your help.
iLogic snippet:
Components.AddContentCenterPart("Shipping Box-1-1-1:1", "Features", "Shipping Box", {"Length", 1, "Height", 1, "Depth", 1 }, position := Nothing, grounded := True, visible := True)
API route:
Dim oReason As MemberManagerErrorsEnum Dim mValues As NameValueMap Dim oRefresh As ContentMemberRefreshEnum mValues.Add("Length", 1) mValues.Add("Height", 1) mValues.Add("Depth", 1) ThisApplication.ContentCenter.TreeViewTopNode.ChildNodes.Item("Features").Families.Item("Shipping Box").CreateMember(1, oReason, "Some Failure Occurred", oRefresh, , , mValues)
Solved! Go to Solution.