![]() |
【转帖】api help
api help
hi, i want to use api method face2::issame. the syntex given in solidworks api help is as following syntax (ole automation) retval = face2.issame ( facein) input: (lpdispatch) facein dispatch pointer to the face to be compared return: (bool) retval true if the two faces are the same, false if they are different it says, i have give the pointer of the face i want to compare as an input. can anyone please tell me how i can the pointer of a face. thanks and regards sonju chowdhury you can get a face by getting the selection from solidworks using selectionmanager getseletedobject6 for one. you can get it by traversing a body or component, and many other ways. it all depends how you would like to get it. ps the "pointer" is simply referring to a "face" object if you are wondering. |
所有的时间均为北京时间。 现在的时间是 06:30 PM. |