Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hi all,
Pro/Toolkit has a number of ways to access pattern tables. You could either use old style Pro/Develop functions proptntbl_.... or use Pro/Toolkit style element tree manipulation/access functions. In later case you would need to create an element tree using ProPatternElemtreeCreate and use ProElemtreeElementGetfor PRO_E_PAT_TABLE_INSTANCE to access table items.
HIH.
Feliks.
In Reply to rumly rumly:
Hello everyone , I want to access to pattern tables,but I can't find any
functions. Can you help me?
I want to modify the numbers of the pattern tables items.
Hi all,
Hi Patric,
I had similar problem with ProFeatureRedefine. I had ended up with the following workaround:
get pattern elemtree
modify pattern elemtree
delete pattern
create pattern with the new elemtree.
I don't know if this approach is any better then using Pro/Develop functions but at this time I was thinking that I would rather use newer functionality for the sake of code maintenance and hoping that ProFeatureRedefine would work in later releases.
Feliks.