Skip to content

Commit 2e8a9a6

Browse files
MaxjreyMaxJPRey
andauthored
Add folder content from CSharpAddins\ApiServer\DomainModel\DomainModel.Protobuffer\ansys\api\geometry\v0. (#29)
Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent 094eecc commit 2e8a9a6

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

ansys/api/geometry/v0/components.proto

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
syntax = "proto3";
33
package ansys.api.geometry.v0.Components;
44

5+
56
import "ansys/api/geometry/v0/models.proto";
67

78
option csharp_namespace = "Ansys.Api.Geometry.V0.Components";
@@ -22,8 +23,22 @@ service Components{
2223
rpc GetRootComponent(Empty) returns (GetRootComponentResponse);
2324

2425
rpc GetName(EntityIdentifier) returns (GetComponentNameResponse);
25-
26+
2627
rpc GetUpdateState(EntityIdentifier) returns (UpdateState);
28+
29+
rpc SetPlacement(SetPlacementRequest) returns (SetPlacementResponse);
30+
}
31+
32+
message SetPlacementRequest {
33+
string id = 1;
34+
Direction translation = 2;
35+
Point rotation_axis_origin = 3;
36+
Direction rotation_axis_direction = 4;
37+
double rotation_angle = 5;
38+
}
39+
40+
message SetPlacementResponse {
41+
Matrix matrix = 1;
2742
}
2843

2944
message GetAllRequest{

0 commit comments

Comments
 (0)