Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hi All!
My creo is creo Parametric 10.0.3.
How does the wfcAssemblyExpressionRule works ? Can not find any details. Situation goes like:
There is a part with given parameter like YEAR with value 2012.
Part is child of "activeAssembly"
After calling ListComponentsByAssemblyRule with expression "YEAR==2012" I got something in message window like :
WARNING: Symbol '�䋐ȃ' not found in model XXXXXXXX. Retrieving submodels.
where '�䋐ȃ' is totally random and varies form run to another. LogTrace shows that everything is ok with expression string and model. String is std::string passed by copy to local function. Result is always empty.
Here are lines of code
I found Article - CS242290 - ProRuleInitExpr() and ProRuleEval() cannot gather components by parameters. (ptc.com) which is directly connected with my issue. Can you, THE PTC mark such API with attribute like C++ attribute: deprecated (since C++14) - cppreference.com or just delete it? Does it make any sense to keep this in API? This does noting and hang there only as a trap which takes time to investigate why again something is wrong,
Thanks for response 🙂 I had bad day(s) with that and searching for walkaround took my time. Hope you will be able to find / do something with that.
Same here as for finding skeletons, write a visit filter for feature IDs
If you want, you can do this recursive if the component is an assembly.