Skip to content

Commit 97e6881

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

File tree

89 files changed

+10887
-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.

89 files changed

+10887
-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: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2+
syntax = "proto3";
3+
package ansys.api.discovery.v1.automation.historytrackparameters;
4+
5+
import "ansys/api/discovery/v1/commonmessages.proto";
6+
7+
option csharp_namespace = "Ansys.Api.Discovery.V1.Automation.HistoryTrackParameters";
8+
9+
// History track parameters servicer.
10+
//
11+
service HistoryTrackParameters{
12+
rpc Get(EntityRequest) returns(GetResponse);
13+
14+
rpc GetAll(ParentEntityRequest) returns(GetAllResponse);
15+
16+
rpc GetRecordingStatus(GetRecordingStatusRequest) returns(GetRecordingStatusResponse);
17+
18+
rpc Replay(ReplayRequest) returns(ReplayResponse);
19+
20+
rpc SetRecordingStatus(SetRecordingStatusRequest) returns(SetRecordingStatusResponse);
21+
22+
rpc Update(UpdateRequest) returns(UpdateResponse);
23+
}
24+
25+
message GetResponse{
26+
HistoryTrackParameter history_track_parameter = 1;
27+
}
28+
29+
message GetAllResponse{
30+
repeated HistoryTrackParameter history_track_parameters = 1;
31+
}
32+
33+
message UpdateRequest{
34+
repeated HistoryTrackParameter request_data = 1;
35+
}
36+
37+
message UpdateResponse{
38+
repeated HistoryTrackParameter response_data = 1;
39+
}
40+
41+
message ReplayRequest{
42+
}
43+
44+
message ReplayResponse{
45+
string result = 1;
46+
}
47+
48+
enum RecordingStatus{
49+
OFF=0;
50+
ON=1;
51+
}
52+
53+
message GetRecordingStatusRequest{
54+
}
55+
56+
message GetRecordingStatusResponse{
57+
RecordingStatus status=1;
58+
}
59+
60+
message SetRecordingStatusRequest{
61+
RecordingStatus status=1;
62+
}
63+
64+
message SetRecordingStatusResponse{
65+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2+
syntax = "proto3";
3+
package ansys.api.discovery.v1.automation.scriptparameters;
4+
5+
import "ansys/api/discovery/v1/commonmessages.proto";
6+
7+
option csharp_namespace = "Ansys.Api.Discovery.V1.Automation.ScriptParameters";
8+
9+
// script parameters servicer.
10+
//
11+
service ScriptParameters{
12+
rpc Get(EntityRequest) returns(GetResponse);
13+
14+
rpc GetAll(ParentEntityRequest) returns(GetAllResponse) ;
15+
16+
rpc Replay(ReplayRequest) returns(ReplayResponse) ;
17+
18+
rpc Update(UpdateRequest) returns(UpdateResponse) ;
19+
}
20+
21+
message GetResponse{
22+
ScriptParameter script_parameter = 1;
23+
}
24+
25+
message GetAllResponse{
26+
repeated ScriptParameter script_parameters = 1;
27+
}
28+
29+
message UpdateRequest{
30+
repeated ScriptParameter request_data = 1;
31+
}
32+
33+
message UpdateResponse{
34+
repeated ScriptParameter response_data = 1;
35+
}
36+
37+
message ReplayRequest{
38+
}
39+
40+
message ReplayResponse{
41+
string result = 1;
42+
}
Lines changed: 156 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,156 @@
1+
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2+
syntax = "proto3";
3+
package ansys.api.discovery.v1.commands.admin;
4+
5+
import "ansys/api/discovery/v1/commonenums.proto";
6+
import "ansys/api/discovery/v1/commonmessages.proto";
7+
import "google/protobuf/struct.proto";
8+
import "google/protobuf/timestamp.proto";
9+
10+
option csharp_namespace = "Ansys.Api.Discovery.V1.Commands.Admin";
11+
12+
service Admin{
13+
rpc ApplicationStarted(ApplicationStartedRequest) returns(ApplicationStartedResponse);
14+
15+
rpc CloseApplication(CloseApplicationRequest) returns(CloseApplicationResponse);
16+
17+
rpc DisposeTracker(DisposeTrackerRequest) returns (DisposeTrackerResponse);
18+
19+
rpc GetBackend(GetBackendRequest) returns(GetBackendResponse);
20+
21+
rpc GetLogs(LogsRequest) returns(stream LogsResponse);
22+
23+
rpc GetMonikersCompressionMethod(GetMonikersCompressionMethodRequest) returns(MonikerCompressionMethodMessage);
24+
25+
rpc GetTracker(GetTrackerRequest) returns (GetTrackerResponse);
26+
27+
rpc GetTrackerChanges(GetTrackerChangesRequest) returns (GetTrackerChangesResponse);
28+
29+
rpc Health(HealthRequest) returns(HealthResponse);
30+
31+
rpc SetApplicationTitle(SetApplicationTitleRequest) returns(SetApplicationTitleResponse);
32+
33+
rpc SetAutomaticTrackingState(SetAutomaticTrackingStateRequest) returns (SetAutomaticTrackingStateResponse);
34+
35+
rpc SetMonikersCompressionMethod(MonikerCompressionMethodMessage) returns(SetMonikersCompressionMethodResponse);
36+
37+
rpc Shutdown(ShutdownRequest) returns(ShutdownResponse);
38+
39+
rpc StatusInfo(StatusInfoRequest) returns(StatusInfoResponse);
40+
}
41+
42+
message LogsRequest{
43+
44+
LogsTarget target = 1;
45+
oneof path{
46+
google.protobuf.NullValue null_path = 2;
47+
string target_path =3;
48+
}
49+
50+
LogsPeriodType period_type = 4;
51+
52+
oneof period {
53+
google.protobuf.NullValue null_period = 5;
54+
google.protobuf.Timestamp logs_period = 6;
55+
}
56+
}
57+
58+
message LogsResponse{
59+
string relative_path = 1;
60+
string log_name = 2;
61+
bytes log_chunk = 3;
62+
}
63+
64+
message HealthResponse{
65+
string message = 1;
66+
}
67+
68+
69+
message SetApplicationTitleRequest{
70+
string title =1;
71+
}
72+
73+
message GetBackendRequest{
74+
}
75+
76+
message GetBackendResponse{
77+
BackendType type = 1;
78+
VersionIdentifier version = 2;
79+
string backend_version_info = 3;
80+
}
81+
82+
message ApplicationStartedRequest{
83+
}
84+
85+
message ApplicationStartedResponse{
86+
bool is_startup_complete = 1;
87+
}
88+
89+
message GetMonikersCompressionMethodRequest{
90+
}
91+
92+
message MonikerCompressionMethodMessage{
93+
MonikerCompressionMethod method = 1;
94+
}
95+
96+
message SetMonikersCompressionMethodResponse{
97+
}
98+
99+
message SetApplicationTitleResponse{
100+
}
101+
102+
message CloseApplicationRequest{
103+
}
104+
105+
message CloseApplicationResponse{
106+
}
107+
108+
message HealthRequest{
109+
}
110+
111+
message ShutdownRequest{
112+
}
113+
114+
message ShutdownResponse{
115+
}
116+
117+
message StatusInfoRequest{
118+
}
119+
120+
message StatusInfoResponse{
121+
string touch_time = 1 [json_name = "touch_time"];
122+
string application_version = 2 [json_name = "application_version"];
123+
string embedded_api_version = 3 [json_name = "embedded_api_version"];
124+
}
125+
126+
message SetAutomaticTrackingStateRequest{
127+
AutomaticTrackingState state = 1;
128+
}
129+
130+
message SetAutomaticTrackingStateResponse{
131+
bool success = 1;
132+
}
133+
134+
message GetTrackerRequest{
135+
EntityIdentifier design_id = 1;
136+
}
137+
138+
message GetTrackerResponse{
139+
TrackerDefinition tracker = 1;
140+
}
141+
142+
message GetTrackerChangesRequest{
143+
EntityIdentifier design_id = 1;
144+
}
145+
146+
message GetTrackerChangesResponse{
147+
TrackerCommandResponse changes = 1;
148+
}
149+
150+
message DisposeTrackerRequest{
151+
EntityIdentifier design_id = 1;
152+
}
153+
154+
message DisposeTrackerResponse{
155+
bool success = 1;
156+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2+
syntax = "proto3";
3+
package ansys.api.discovery.v1.commands.applicationapi;
4+
5+
option csharp_namespace = "Ansys.Api.Discovery.V1.Commands.ApplicationApi";
6+
7+
// Api
8+
//
9+
service ApplicationApi{
10+
// Sets the current scripting version.
11+
rpc SetVersion(SetVersionRequest) returns(SetVersionResponse) ;
12+
13+
// Sets the current scripting version.
14+
rpc GetVersion(GetVersionRequest) returns(GetVersionResponse) ;
15+
}
16+
17+
message GetVersionRequest{
18+
}
19+
20+
message GetVersionResponse{
21+
ApiVersion version = 1;
22+
}
23+
24+
message SetVersionRequest{
25+
// The set api operation being requested.
26+
ApiVersion version = 1;
27+
}
28+
29+
message SetVersionResponse{
30+
string result = 1;
31+
}
32+
33+
enum ApiVersion {
34+
INVALID = 0;
35+
V_21 = 21; //OBSOLETE
36+
V_22 = 22; //OBSOLETE
37+
V_231 = 231; //OBSOLETE
38+
V_232 = 232; //OBSOLETE
39+
V_241 = 241; //OBSOLETE
40+
V_242 = 242; //OBSOLETE
41+
V_251 = 251; //OBSOLETE
42+
V_252 = 252;
43+
V_261 = 261;
44+
}

0 commit comments

Comments
 (0)