Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hi, i have a bit more complex problem which actually consistas of two simple problems.
Model structure of most of our hoses looks like this
but for some reason when doing save as in windchill it does this to analysis feature
it measures only part of a curve (composite curve)
using JS API i need to get curve and check if it's a parent of a analysis but here comes an interesting part
when referencing part of a composite curve it still creates parent connection
how can i check if analysis references whole curve but not it's parts and in case of referencing only part of it repair analysis feature to reference whole curve
When i'm using model.ListFeaturesByType(false, pfcFeatureType.FEATTYPE_COMPONENT) i'm getting feature curve which than i can't convert to curve to use listElements()
when i want to get it from model.ListItems(pfcModelItemType.ITEM_CURVE); it doesn't provide anything like there is no curves in model but they clearly are even in the tree
Hi @ilyachaban
Thank you for your question.
Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.
Also, feel free to add any additional information you think might be relevant.
Best regards,
