Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hello.
I'm trying to create a dimension pattern using C++ toolkit in Creo 8. First I created the pattern with the desired relation (MEMB_V=-LEAD_V) as shown in the image below. Then I created an element tree of the pattern and stored it in a xml file so I can use it as template for pattern element trees later.
However the relation is not included in the element tree. Creating the pattern with the element tree has the "Define increment by relation" still ticked, but the Relations window is empty.
When I check the xml file I can see that the row that should have the relation just has ** as value:
<PRO_E_GENPAT_RELATION_EDIT type="pointer">**</PRO_E_GENPAT_RELATION_EDIT>
I tried to create that element and assign the relation to it by using the create function for wfcElements. The Create function needs pfcArgValue as input, but there does not seem to be a way to assign a "pointer" type value to it. C Toolkit user guide says to assign an array of wide strings to that element, but there does not seem to be a way to assign an array either.
Does anyone know how to assign the value to this element?
