Hello,
I have one question about Solid Works API. In my program I needanalyze mates between components. My question is. How it ispossible to obtain mates connected with some component. There is nofunction like "GetMates" in object Component2. Only onepossibility, which I have found in API help, is to find feature"MateGroup" in main assembly and by property ReferenceComponent ofobject MateEntity filter mates dependend on my component.
But it takes huge time. E.g. 20seconds in assembly with 200components(each have two mates)
Is there some quicker way, how to obtain dependent mates forcomponent?
Thanks for answer.
Petr Bartoš
SolidworksApi macros
I have one question about Solid Works API. In my program I needanalyze mates between components. My question is. How it ispossible to obtain mates connected with some component. There is nofunction like "GetMates" in object Component2. Only onepossibility, which I have found in API help, is to find feature"MateGroup" in main assembly and by property ReferenceComponent ofobject MateEntity filter mates dependend on my component.
But it takes huge time. E.g. 20seconds in assembly with 200components(each have two mates)
Is there some quicker way, how to obtain dependent mates forcomponent?
Thanks for answer.
Petr Bartoš
SolidworksApi macros