Solid3d solid3d = (Solid3d)entity;
DBObject dbObject=(DBObject )entity;
SubDMesh subDMesh = new SubDMesh();
MeshFaceterData meshFaceterData=new MeshFaceterData();
meshFaceterData.FaceterMeshType =2;
MeshDataCollection meshDataColl = SubDMesh.GetObjectMesh(dbObject, meshFaceterData);
Int32Collection faces = meshDataColl.FaceArray;
Point3dCollection vertices= meshDataColl.VertexArray;
//------------------------------------------------------------+
The input is Cube of side 10 units.
the vertices.Count=8
the faces.Count = 48 [whose meaning I didnt understood]...
the data in faces are integers ranging from 0-7... [verices are 8 (0-7)]
Solved! Go to Solution.
Solved by philippe.leefsma. Go to Solution.
Hi
You may want to take a look at the following post, it illustrates a way to visualize the result of the mesh. It will then be more explicit why you are getting those values:
Regards,
Philippe.