Skip to content

Commit d43770b

Browse files
author
tfs_caslservice
committed
sync: add changes from local folder
1 parent ce9e351 commit d43770b

File tree

93 files changed

+11023
-14
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+11023
-14
lines changed

ansys/api/discovery/v0/conditions/support.proto

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ service Support
3535
rpc ChangeSupportDisplacedIsFixedRX(ChangeBooleanRequest) returns (ChangeResponse);
3636
rpc ChangeSupportDisplacedIsFixedRY(ChangeBooleanRequest) returns (ChangeResponse);
3737
rpc ChangeSupportDisplacedIsFixedRZ(ChangeBooleanRequest) returns (ChangeResponse);
38+
rpc GetAll(GetAllRequest) returns(GetAllResponse);
3839
}
3940

4041
//Support
@@ -95,4 +96,14 @@ message SupportDisplacedDefinition {
9596

9697
message SupportDisplacedProperties {
9798
TensorOfOptionalQuantities displacement = 1;
99+
}
100+
101+
message GetAllRequest{
102+
ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 1;
103+
}
104+
105+
message GetAllResponse{
106+
// The simulations in the study.
107+
repeated SupportGeneralDefinition supports_general = 1;
108+
repeated SupportDisplacedDefinition supports_displaced = 2;
98109
}

ansys/api/discovery/v0/connections/contactgroup.proto

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ service ContactGroup
1414
rpc ChangeContactGroupSide1Location(ChangeLocationRequest) returns(ChangeResponse);
1515
rpc ChangeContactGroupSide2Location(ChangeLocationRequest) returns(ChangeResponse);
1616

17-
rpc ChangeContactGroupContactType(ansys.api.discovery.v0.connections.contact.ChangeContactTypeRequest)
18-
returns (ChangeResponse);
17+
rpc ChangeContactGroupContactType(ansys.api.discovery.v0.connections.contact.ChangeContactTypeRequest) returns (ChangeResponse);
1918
rpc SplitContactGroup(ChangeEmptyRequest) returns (ChangeResponse);
2019
rpc ConvertContactGroup(ConvertContactGroupChangeRequest) returns (ChangeResponse);
2120

ansys/api/discovery/v0/unsupported.proto

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ package ansys.api.discovery.v0.unsupported;
55

66
import "ansys/api/dbu/v0/dbumodels.proto";
77
import "ansys/api/discovery/v0/results.proto";
8-
import "ansys/api/geometry/v0/models.proto";
98
import "google/protobuf/empty.proto";
109

1110
option csharp_namespace = "Ansys.Api.Discovery.V0.Unsupported";
@@ -20,10 +19,7 @@ service Unsupported {
2019

2120
// Gets max and min value from the legend
2221
rpc GetLegendMaximumValue(google.protobuf.Empty) returns(DoubleValueResponse);
23-
2422
rpc GetLegendMinimumValue(google.protobuf.Empty) returns(DoubleValueResponse);
25-
26-
rpc CreateFacetedBodies(CreateFacetedBodiesRequest) returns (CreateFacetedBodiesResponse);
2723

2824
}
2925

@@ -44,12 +40,4 @@ message ByteArrayResponse {
4440
message DoubleValueResponse {
4541
double value = 1;
4642
bool success = 2;
47-
}
48-
49-
message CreateFacetedBodiesRequest{
50-
map<string, ansys.api.geometry.v0.Tessellation> tessellation_data=1;
51-
}
52-
53-
message CreateFacetedBodiesResponse{
54-
repeated ansys.api.dbu.v0.EntityIdentifier created_bodies=1;
5543
}
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2+
syntax = "proto3";
3+
package ansys.api.discovery.v1.commands.application;
4+
5+
import "ansys/api/discovery/v1/commonenums.proto";
6+
import "ansys/api/discovery/v1/commonmessages.proto";
7+
8+
import "ansys/api/discovery/v1/design/designmessages.proto";
9+
10+
option csharp_namespace = "Ansys.Api.Discovery.V1.Commands.Application";
11+
12+
service Application{
13+
rpc IsStarted(ApplicationStartedRequest) returns(ApplicationStartedResponse);
14+
15+
rpc Close(CloseApplicationRequest) returns(CloseApplicationResponse);
16+
17+
rpc DisposeTracker(DisposeTrackerRequest) returns (DisposeTrackerResponse);
18+
19+
rpc GetMonikersCompressionMethod(GetMonikersCompressionMethodRequest) returns(MonikerCompressionMethodMessage);
20+
21+
rpc GetTracker(GetTrackerRequest) returns (GetTrackerResponse);
22+
23+
rpc GetTrackerChanges(GetTrackerChangesRequest) returns (GetTrackerChangesResponse);
24+
25+
rpc SetAutomaticTrackingState(SetAutomaticTrackingStateRequest) returns (SetAutomaticTrackingStateResponse);
26+
27+
rpc SetMonikersCompressionMethod(MonikerCompressionMethodMessage) returns(SetMonikersCompressionMethodResponse);
28+
29+
rpc SetTitle(SetApplicationTitleRequest) returns(SetApplicationTitleResponse);
30+
31+
rpc GetBackend(GetBackendRequest) returns(GetBackendResponse);
32+
}
33+
34+
message SetApplicationTitleRequest{
35+
string title =1;
36+
}
37+
38+
message GetBackendRequest{
39+
}
40+
41+
message GetBackendResponse{
42+
BackendType type = 1;
43+
VersionIdentifier version = 2;
44+
string backend_version_info = 3;
45+
map<string, string> additional_build_info = 4;
46+
}
47+
48+
message VersionIdentifier
49+
{
50+
int32 major_release = 1;
51+
int32 minor_release = 2;
52+
int32 service_pack = 3;
53+
int32 build_number = 4;
54+
}
55+
56+
message ApplicationStartedRequest{
57+
}
58+
59+
message ApplicationStartedResponse{
60+
bool is_startup_complete = 1;
61+
}
62+
63+
message GetMonikersCompressionMethodRequest{
64+
}
65+
66+
message MonikerCompressionMethodMessage{
67+
MonikerCompressionMethod method = 1;
68+
}
69+
70+
message SetMonikersCompressionMethodResponse{
71+
}
72+
73+
message SetApplicationTitleResponse{
74+
}
75+
76+
message CloseApplicationRequest{
77+
}
78+
79+
message CloseApplicationResponse{
80+
}
81+
82+
83+
message SetAutomaticTrackingStateRequest{
84+
AutomaticTrackingState state = 1;
85+
}
86+
87+
message SetAutomaticTrackingStateResponse{
88+
bool success = 1;
89+
}
90+
91+
message GetTrackerRequest{
92+
EntityIdentifier design_id = 1;
93+
}
94+
95+
message GetTrackerResponse{
96+
TrackerDefinition tracker = 1;
97+
}
98+
99+
message TrackerDefinition{
100+
EntityIdentifier design_id = 1;
101+
}
102+
103+
message GetTrackerChangesRequest{
104+
EntityIdentifier design_id = 1;
105+
}
106+
107+
message GetTrackerChangesResponse{
108+
ansys.api.discovery.v1.design.TrackedChanges tracked_changes = 1;
109+
}
110+
111+
message DisposeTrackerRequest{
112+
EntityIdentifier design_id = 1;
113+
}
114+
115+
message DisposeTrackerResponse{
116+
bool success = 1;
117+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2+
syntax = "proto3";
3+
4+
package ansys.api.discovery.v1.commands.communication;
5+
6+
import "ansys/api/discovery/v1/commonenums.proto";
7+
import "google/protobuf/struct.proto";
8+
import "google/protobuf/timestamp.proto";
9+
10+
option csharp_namespace = "Ansys.Api.Discovery.V1.Commands.Communication";
11+
12+
service Communication {
13+
rpc Health(HealthRequest) returns(HealthResponse);
14+
rpc Shutdown(ShutdownRequest) returns(ShutdownResponse);
15+
rpc StatusInfo(StatusInfoRequest) returns(StatusInfoResponse);
16+
rpc GetLogs(LogsRequest) returns(stream LogsResponse);
17+
18+
}
19+
20+
message LogsRequest{
21+
22+
LogsTarget target = 1;
23+
oneof path{
24+
google.protobuf.NullValue null_path = 2;
25+
string target_path =3;
26+
}
27+
28+
LogsPeriodType period_type = 4;
29+
30+
oneof period {
31+
google.protobuf.NullValue null_period = 5;
32+
google.protobuf.Timestamp logs_period = 6;
33+
}
34+
}
35+
36+
message LogsResponse{
37+
string relative_path = 1;
38+
string log_name = 2;
39+
bytes log_chunk = 3;
40+
}
41+
42+
message HealthResponse{
43+
string message = 1;
44+
}
45+
46+
47+
message HealthRequest{
48+
}
49+
50+
message ShutdownRequest{
51+
}
52+
53+
message ShutdownResponse{
54+
}
55+
56+
message StatusInfoRequest{
57+
}
58+
59+
message StatusInfoResponse{
60+
string touch_time = 1 [json_name = "touch_time"];
61+
string application_version = 2 [json_name = "application_version"];
62+
string embedded_api_version = 3 [json_name = "embedded_api_version"];
63+
}
64+

0 commit comments

Comments
 (0)