Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hello
Let me give you background of what I need to achieve. I am preparing a toolkit solution.
I have a sample part (cubicle part having dimension as 300*200*100). Through toolkit, I have asked user to select a surface of part using ProSelect() API. user has selected any one surface out of six available surfaces.
I am not sure how to proceed with in order to decide whether part is present into direction of normal to selected surface or not? Any idea or hint??.
From selection object, I have got model item using API ProSelectionModelitemGet(). Then it is converted as surface using API ProGeomitemToSurface(). From surface, I know that API which might be useful will be ProSurfaceDataGet(). But after that, I am totally stuck. Any thought on how to proceed will be of a great help.
Feel free to ask in case of any query.
Regards
Ketan