Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hello
We are using API ProAsmcompConstraintsSet() to constraint assembly component. There is two constraint to be set. One is Axis to Axis and other one is surface to surface. ProAsmcompConstraintsSet() is working fine if we ask end user to select four references but it fails and gives general error if selection objects are found through different API rather than asking user to select. Any idea of this failure will help us to proceed further.
One more information : Selection objects found by API are same as what user is selecting. This has been varified using ProselectionHighlight() API. This observation is blocking our path as we are not getting how to proceed. Selection to be done by user and selection object manipulated by different API (to constraint component) are same.
Thanks in advance.
Regards
Ketan
Hello.
You solved this problem?
Can you help me to make axis to axis constraint?
I make the constraint but i have problems when i try to flip the direction of constraint.
Can you help me?
Yes. I am able to constraint properly now.
Check for flip whether it is allowed manually or not. I doubt flip is allowed for axis constraint.
Thanks!!
It's not possible. I solve my problem using the angle offset constraint. if i want to flip, i give the angle of 180 degrees between the two axis.
Best regards.
Hey Ketan,
Is it possible to constraint components using c++ toolkit? if so could you please share an example of the working code?
Thanks,
Jay