/// <summary> /// queues up meshing for a structure /// </summary> /// <param name="structureGuid">guid of structure to be meshed</param> static void MeshStructure(Guid structureGuid) { var meshingManager = new MeshingManagerClient(); using (OperationContextScope contextScope = new OperationContextScope(meshingManager.InnerChannel)) { var methodId = Guid.NewGuid(); MeshingManagerHelper.SetupResponseHeader(methodId); // create the request object MeshingRequest request = new MeshingRequest(); request.StructureGuid = structureGuid; // and queue the request meshingManager.MeshStructure(request); } meshingManager.Close(); }