Skip to content

Commit 1221a9e

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

File tree

92 files changed

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

92 files changed

+11320
-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: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
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+
import "ansys/api/discovery/v1/geometryenums.proto";
7+
8+
option csharp_namespace = "Ansys.Api.Discovery.V1.Automation.HistoryTrackParameters";
9+
10+
// History track parameters servicer.
11+
//
12+
service HistoryTrackParameters{
13+
rpc Get(EntityRequest) returns(GetResponse);
14+
15+
rpc GetAll(ParentEntityRequest) returns(GetAllResponse);
16+
17+
rpc GetRecordingStatus(GetRecordingStatusRequest) returns(GetRecordingStatusResponse);
18+
19+
rpc Replay(ReplayRequest) returns(ReplayResponse);
20+
21+
rpc SetRecordingStatus(SetRecordingStatusRequest) returns(SetRecordingStatusResponse);
22+
23+
rpc Update(UpdateRequest) returns(UpdateResponse);
24+
}
25+
26+
message GetResponse{
27+
HistoryTrackParameter history_track_parameter = 1;
28+
}
29+
30+
message GetAllResponse{
31+
repeated HistoryTrackParameter history_track_parameters = 1;
32+
}
33+
34+
message UpdateRequest{
35+
repeated HistoryTrackParameter request_data = 1;
36+
}
37+
38+
message UpdateResponse{
39+
repeated HistoryTrackParameter response_data = 1;
40+
}
41+
42+
message ReplayRequest{
43+
}
44+
45+
message ReplayResponse{
46+
string result = 1;
47+
}
48+
49+
enum RecordingStatus{
50+
OFF=0;
51+
ON=1;
52+
}
53+
54+
message GetRecordingStatusRequest{
55+
}
56+
57+
message GetRecordingStatusResponse{
58+
RecordingStatus status=1;
59+
}
60+
61+
message SetRecordingStatusRequest{
62+
RecordingStatus status=1;
63+
}
64+
65+
message SetRecordingStatusResponse{
66+
}
67+
68+
//
69+
// An history track parameter
70+
message HistoryTrackParameter {
71+
EntityIdentifier id = 1;
72+
string name=2;
73+
DimensionType dimension_type=3;
74+
double dimension_value=4;
75+
}
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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+
import "ansys/api/discovery/v1/geometryenums.proto";
7+
8+
option csharp_namespace = "Ansys.Api.Discovery.V1.Automation.ScriptParameters";
9+
10+
// script parameters servicer.
11+
//
12+
service ScriptParameters{
13+
rpc Get(EntityRequest) returns(GetResponse);
14+
15+
rpc GetAll(ParentEntityRequest) returns(GetAllResponse) ;
16+
17+
rpc Replay(ReplayRequest) returns(ReplayResponse) ;
18+
19+
rpc Update(UpdateRequest) returns(UpdateResponse) ;
20+
}
21+
22+
message GetResponse{
23+
ScriptParameter script_parameter = 1;
24+
}
25+
26+
message GetAllResponse{
27+
repeated ScriptParameter script_parameters = 1;
28+
}
29+
30+
message UpdateRequest{
31+
repeated ScriptParameter request_data = 1;
32+
}
33+
34+
message UpdateResponse{
35+
repeated ScriptParameter response_data = 1;
36+
}
37+
38+
message ReplayRequest{
39+
}
40+
41+
message ReplayResponse{
42+
string result = 1;
43+
}
44+
45+
//
46+
// A script parameter
47+
message ScriptParameter {
48+
EntityIdentifier id = 1;
49+
string name = 2;
50+
DimensionType dimension_type = 3;
51+
double dimension_value = 4;
52+
}
Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
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+
map<string, string> additional_build_info = 4;
81+
}
82+
83+
message VersionIdentifier
84+
{
85+
int32 major_release = 1;
86+
int32 minor_release = 2;
87+
int32 service_pack = 3;
88+
int32 build_number = 4;
89+
}
90+
91+
message ApplicationStartedRequest{
92+
}
93+
94+
message ApplicationStartedResponse{
95+
bool is_startup_complete = 1;
96+
}
97+
98+
message GetMonikersCompressionMethodRequest{
99+
}
100+
101+
message MonikerCompressionMethodMessage{
102+
MonikerCompressionMethod method = 1;
103+
}
104+
105+
message SetMonikersCompressionMethodResponse{
106+
}
107+
108+
message SetApplicationTitleResponse{
109+
}
110+
111+
message CloseApplicationRequest{
112+
}
113+
114+
message CloseApplicationResponse{
115+
}
116+
117+
message HealthRequest{
118+
}
119+
120+
message ShutdownRequest{
121+
}
122+
123+
message ShutdownResponse{
124+
}
125+
126+
message StatusInfoRequest{
127+
}
128+
129+
message StatusInfoResponse{
130+
string touch_time = 1 [json_name = "touch_time"];
131+
string application_version = 2 [json_name = "application_version"];
132+
string embedded_api_version = 3 [json_name = "embedded_api_version"];
133+
}
134+
135+
message SetAutomaticTrackingStateRequest{
136+
AutomaticTrackingState state = 1;
137+
}
138+
139+
message SetAutomaticTrackingStateResponse{
140+
bool success = 1;
141+
}
142+
143+
message GetTrackerRequest{
144+
EntityIdentifier design_id = 1;
145+
}
146+
147+
message GetTrackerResponse{
148+
TrackerDefinition tracker = 1;
149+
}
150+
151+
message TrackerDefinition{
152+
EntityIdentifier design_id = 1;
153+
}
154+
155+
message GetTrackerChangesRequest{
156+
EntityIdentifier design_id = 1;
157+
}
158+
159+
message GetTrackerChangesResponse{
160+
TrackerCommandResponse changes = 1;
161+
}
162+
163+
message DisposeTrackerRequest{
164+
EntityIdentifier design_id = 1;
165+
}
166+
167+
message DisposeTrackerResponse{
168+
bool success = 1;
169+
}

0 commit comments

Comments
 (0)