Defining Mate in Assembly documnet

HI ALL

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

 

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

1 REPLY

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:

 

objRelations.AddPlanar()

 

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