Hello,
Im trying to mate two planes or faces together with a coincedent and a concentric mate.
Im recording a macro to produce the code that i want to use in my program.
But somehow my program loses the plane or face, that i selected while recording the macro,
when i run my program to mate to parts together in an assembly.
When i want to mate two top planes together it remembers one of the two but the other is lost and
somehow automaticly replaced by the top plane of the assembly it self.
Now im trying to use something with get face by name and select entity by name.
Unfortunatly it doesnt work as wel...
The two mates im trying to create are part of a bigger program. (which works totaly fine)
The program allows you to alter parts within an assembly.
I think, because the length and width of some parts are being chanced by the program it loses its refrence.
Thats what causes it to fail. But im not sure.
Any help would be greatly appreciated. Im realy in de dark on this one.
Coen
SolidworksApi macros