Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
i am now trying to initial a function to get the dimension of pattern feature member, i can get the pattern member dimension of dimension pattern, direction pattern, but not point pattern.
i'm not sure what the problem is ,maybe it is the handle that i'm using is wrong.
for now i'm using:
status = ProPatternHeaderGet(&pattern,&pFeature);
it can successfully get the pattern member dimension for dimension pattern and direction pattern, but not point pattern.
as the snapshot below, the dimension of pattern member is stored in sketch, now i don;t know how to get the sketch feature here.
i tried ProPatternLeaderGet() function, it doesn't work.
what is the difference between ProPatternHeader and ProPatternLeader, what function should i use to get the handle of the sketch for point pattern.
many thanks for you all.
You need to get pattern feature's elem tree and get a value of PRO_E_STD_SECTION element.
Take look at the examples for ProSectionDimensionIdsGet(...) - there is code showing how to collect section dimensions.
The you will get the leading feature, or the Pattern Struct used in other function calls as an input.