PPT_LOGO_4b
‹#›
© 2008 Autodesk
Autodesk Developer Network
modeler figure
Modeler API
Classes in .NET
Reference: AecBaseMgd.dll
Namespace: Autodesk.Aec.Modeler
Classes
§Body
§Face
§Edge
§Vertex
§
Traversal methods/properties
§Body.Faces - returns a collection of faces of the given body
§Face.Edges - returns a collection of edges of the given face
§Edge.Vertex - return the vertex at the start of the edge. To retrieve the other end, Edge.Partner.Vertex
Boolean Operations
§Union: bodyA + bodyB
§Intersection: bodyA * bodyB
§Subtract: bodyA – bodyB
§
Integral properties
§Body.Area, Volumn, Centroid. 
Main classes you will be using are Body, face, edge and vertex.  There are many other classes associate with those.  In the simplest scenario,
•Basic functions that you will use to traverse b-rep model is Body.Face – giben a body, this returns a collection of faces.
•Face.Edges – this returns a collection of edges of the given face. Edges are in the order of forming a counter clockwise. Face normal is going toward the outside of the solid.
•Edge.Vertex – returns the vertex at the start pf the edge. To retrieve the other end, you can use Edge.Partner.Vertex.
Boolean operation is also supported.
You can also get integral properties, such as area, volumn and the center of the mass.