diff --git a/ansys/api/geometry/v0/bodies.proto b/ansys/api/geometry/v0/bodies.proto index 2879b74..c8018d1 100644 --- a/ansys/api/geometry/v0/bodies.proto +++ b/ansys/api/geometry/v0/bodies.proto @@ -1,4 +1,4 @@ -// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; package ansys.api.geometry.v0.bodies; diff --git a/ansys/api/geometry/v0/commands.proto b/ansys/api/geometry/v0/commands.proto index 8e6c3fa..75cb9d0 100644 --- a/ansys/api/geometry/v0/commands.proto +++ b/ansys/api/geometry/v0/commands.proto @@ -1,4 +1,4 @@ -// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; @@ -181,6 +181,8 @@ service Commands{ rpc ImprintCurvesAndSync(ImprintCurvesRequest) returns (ImprintCurvesAndSyncResponse); + + rpc DeleteEntities(DeleteEntitiesRequest) returns (DeleteEntitiesResponse); } message CreatePlaneRequest { @@ -855,4 +857,12 @@ message RoundInfoRequest { message RoundInfoResponse { bool along_u = 1; double radius = 2; -} \ No newline at end of file +} + +message DeleteEntitiesRequest{ + repeated ansys.api.dbu.v0.EntityIdentifier selection = 1; +} + +message DeleteEntitiesResponse{ + repeated ansys.api.dbu.v0.EntityIdentifier deleted_entities = 1; +} diff --git a/ansys/api/geometry/v0/components.proto b/ansys/api/geometry/v0/components.proto index b387d16..19804e6 100644 --- a/ansys/api/geometry/v0/components.proto +++ b/ansys/api/geometry/v0/components.proto @@ -1,4 +1,4 @@ -// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; package ansys.api.geometry.v0.components; diff --git a/ansys/api/geometry/v0/coordinatesystems.proto b/ansys/api/geometry/v0/coordinatesystems.proto index b316cab..2de9d4a 100644 --- a/ansys/api/geometry/v0/coordinatesystems.proto +++ b/ansys/api/geometry/v0/coordinatesystems.proto @@ -1,4 +1,4 @@ -// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; package ansys.api.geometry.v0.coordinatesystems; @@ -14,6 +14,8 @@ service CoordinateSystems{ rpc GetAll(GetAllRequest) returns(GetAllResponse) ; rpc Create(CreateRequest) returns(CoordinateSystem); + + rpc Delete(DeleteRequest) returns(DeleteResponse); } message GetAllRequest{ @@ -33,3 +35,11 @@ message CreateRequest{ message CreateResponse{ CoordinateSystem coordinate_system=1; } + +message DeleteRequest{ + repeated ansys.api.dbu.v0.EntityIdentifier selection = 1; +} + +message DeleteResponse{ + repeated ansys.api.dbu.v0.EntityIdentifier deleted_coordinates_systems = 1; +} diff --git a/ansys/api/geometry/v0/curves.proto b/ansys/api/geometry/v0/curves.proto index b214168..727ae96 100644 --- a/ansys/api/geometry/v0/curves.proto +++ b/ansys/api/geometry/v0/curves.proto @@ -1,4 +1,4 @@ -// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; package ansys.api.geometry.v0.curves; @@ -10,7 +10,10 @@ option go_package = "ansys/api/geometry/v0"; service Curves{ rpc Get(ansys.api.dbu.v0.EntityIdentifier) returns(Curve) ; + rpc GetAll(GetAllRequest) returns(GetAllResponse) ; + + rpc Delete(DeleteRequest) returns(DeleteResponse); } message GetAllRequest{ @@ -21,4 +24,12 @@ message GetAllRequest{ message GetAllResponse{ // The curves on this page. repeated Curve curves = 1; +} + +message DeleteRequest{ + repeated ansys.api.dbu.v0.EntityIdentifier selection = 1; +} + +message DeleteResponse{ + repeated ansys.api.dbu.v0.EntityIdentifier deleted_curves = 1; } \ No newline at end of file diff --git a/ansys/api/geometry/v0/datumplanes.proto b/ansys/api/geometry/v0/datumplanes.proto new file mode 100644 index 0000000..5144406 --- /dev/null +++ b/ansys/api/geometry/v0/datumplanes.proto @@ -0,0 +1,49 @@ +// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +syntax = "proto3"; +package ansys.api.geometry.v0.datumplanes; + +import "ansys/api/dbu/v0/dbumodels.proto"; +import "ansys/api/geometry/v0/models.proto"; +import "google/protobuf/empty.proto"; + +option csharp_namespace = "Ansys.Api.Geometry.V0.DatumPlanes"; + +service DatumPlanes{ + rpc Get(ansys.api.dbu.v0.EntityIdentifier) returns(DatumPlane); + + rpc GetAll(google.protobuf.Empty) returns(GetAllResponse); + + rpc IsDeleted(IsDeletedRequest) returns(IsDeletedResponse); + + rpc GetUpdateState(GetUpdateStateRequest) returns (UpdateStateResponse); + + rpc Delete(DeleteRequest) returns (DeleteResponse); +} + +message GetAllResponse{ + repeated DatumPlane planes = 1; +} + +message IsDeletedRequest{ + repeated ansys.api.dbu.v0.EntityIdentifier selection = 1; +} + +message IsDeletedResponse{ + map deleted=1; +} + +message GetUpdateStateRequest{ + repeated ansys.api.dbu.v0.EntityIdentifier selection = 1; +} + +message UpdateStateResponse{ + map update_states = 1; +} + +message DeleteRequest{ + repeated ansys.api.dbu.v0.EntityIdentifier selection = 1; +} + +message DeleteResponse{ + repeated ansys.api.dbu.v0.EntityIdentifier deleted_planes = 1; +} diff --git a/ansys/api/geometry/v0/edges.proto b/ansys/api/geometry/v0/edges.proto index 89cd3fb..60f252d 100644 --- a/ansys/api/geometry/v0/edges.proto +++ b/ansys/api/geometry/v0/edges.proto @@ -1,4 +1,4 @@ -// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; package ansys.api.geometry.v0.edges; @@ -27,6 +27,8 @@ service Edges{ rpc GetCurve(ansys.api.dbu.v0.EntityIdentifier) returns (CurveGeometry); rpc GetBoundingBox(ansys.api.dbu.v0.EntityIdentifier) returns (Box); + + rpc Delete(DeleteRequest) returns(DeleteResponse); } message GetIntervalResponse { @@ -58,3 +60,11 @@ message IsDeletedResponse{ message GetLengthResponse{ double length=1; } + +message DeleteRequest{ + repeated ansys.api.dbu.v0.EntityIdentifier selection = 1; +} + +message DeleteResponse{ + repeated ansys.api.dbu.v0.EntityIdentifier deleted_edges = 1; +} \ No newline at end of file diff --git a/ansys/api/geometry/v0/faces.proto b/ansys/api/geometry/v0/faces.proto index b1d168b..6605f39 100644 --- a/ansys/api/geometry/v0/faces.proto +++ b/ansys/api/geometry/v0/faces.proto @@ -1,4 +1,4 @@ -// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; package ansys.api.geometry.v0.faces; diff --git a/ansys/api/geometry/v0/facettools.proto b/ansys/api/geometry/v0/facettools.proto index 4359098..a733cd0 100644 --- a/ansys/api/geometry/v0/facettools.proto +++ b/ansys/api/geometry/v0/facettools.proto @@ -1,4 +1,4 @@ -// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; package ansys.api.geometry.v0.facettools; diff --git a/ansys/api/geometry/v0/materials.proto b/ansys/api/geometry/v0/materials.proto index cc99353..dc50542 100644 --- a/ansys/api/geometry/v0/materials.proto +++ b/ansys/api/geometry/v0/materials.proto @@ -1,4 +1,4 @@ -// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; package ansys.api.geometry.v0.materials; diff --git a/ansys/api/geometry/v0/measuretools.proto b/ansys/api/geometry/v0/measuretools.proto index 799d153..db68fea 100644 --- a/ansys/api/geometry/v0/measuretools.proto +++ b/ansys/api/geometry/v0/measuretools.proto @@ -1,4 +1,4 @@ -// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; package ansys.api.geometry.v0.measuretools; diff --git a/ansys/api/geometry/v0/meshes.proto b/ansys/api/geometry/v0/meshes.proto index cd1a1fb..90ef05d 100644 --- a/ansys/api/geometry/v0/meshes.proto +++ b/ansys/api/geometry/v0/meshes.proto @@ -1,4 +1,4 @@ -// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; package ansys.api.geometry.v0.meshes; diff --git a/ansys/api/geometry/v0/models.proto b/ansys/api/geometry/v0/models.proto index 4777b2d..93171cb 100644 --- a/ansys/api/geometry/v0/models.proto +++ b/ansys/api/geometry/v0/models.proto @@ -1,4 +1,4 @@ -// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; package ansys.api.geometry.v0; diff --git a/ansys/api/geometry/v0/namedselections.proto b/ansys/api/geometry/v0/namedselections.proto index 4cbd1ee..905cc17 100644 --- a/ansys/api/geometry/v0/namedselections.proto +++ b/ansys/api/geometry/v0/namedselections.proto @@ -1,4 +1,4 @@ -// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; package ansys.api.geometry.v0.namedselections; diff --git a/ansys/api/geometry/v0/parts.proto b/ansys/api/geometry/v0/parts.proto index cc70c30..b171a80 100644 --- a/ansys/api/geometry/v0/parts.proto +++ b/ansys/api/geometry/v0/parts.proto @@ -1,4 +1,4 @@ -// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; package ansys.api.geometry.v0.parts; diff --git a/ansys/api/geometry/v0/preparetools.proto b/ansys/api/geometry/v0/preparetools.proto index 2a80174..ad2149b 100644 --- a/ansys/api/geometry/v0/preparetools.proto +++ b/ansys/api/geometry/v0/preparetools.proto @@ -1,4 +1,4 @@ -// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; package ansys.api.geometry.v0.preparetools; diff --git a/ansys/api/geometry/v0/repairtools.proto b/ansys/api/geometry/v0/repairtools.proto index 28fc613..b05f3b2 100644 --- a/ansys/api/geometry/v0/repairtools.proto +++ b/ansys/api/geometry/v0/repairtools.proto @@ -1,4 +1,4 @@ -// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; package ansys.api.geometry.v0.repairtools; diff --git a/ansys/api/geometry/v0/unsupported.proto b/ansys/api/geometry/v0/unsupported.proto index 4f18a01..88ad871 100644 --- a/ansys/api/geometry/v0/unsupported.proto +++ b/ansys/api/geometry/v0/unsupported.proto @@ -1,4 +1,4 @@ -// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; package ansys.api.geometry.v0.unsupported;