Defining Mate in Assembly documnet


i want to define mate of parts in to assembly document.for do this which class and properties are to be use(API) in please help me...


Posted by: Yogesh Shinde
Post date: 5/7/2012 12:16:47 AM


Re: Defining Mate in Assembly documnet

The AssemblyDocument has a Relations3d property which holds all assembly relations. This collection has a method to create a Mate relation:




You might check the API help for an example. If the used faces/planes are in a suboccurrence, you have to create a reference to them and then pass the reference to the AddPlanar method.


Posted by: Martin Bernhard
Post date: 5/7/2012 4:04:25 PM