ansys-api-discovery 0.6.4__py3-none-any.whl → 0.6.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of ansys-api-discovery might be problematic. Click here for more details.

Files changed (58) hide show
  1. ansys/api/discovery/VERSION +1 -1
  2. ansys/api/discovery/v0/assignments/boltassignment.proto +1 -1
  3. ansys/api/discovery/v0/conditions/acceleration.proto +1 -1
  4. ansys/api/discovery/v0/conditions/bearing.proto +1 -1
  5. ansys/api/discovery/v0/conditions/boltpreload.proto +1 -1
  6. ansys/api/discovery/v0/conditions/condition.proto +5 -1
  7. ansys/api/discovery/v0/conditions/condition_pb2.py +5 -3
  8. ansys/api/discovery/v0/conditions/condition_pb2.pyi +11 -0
  9. ansys/api/discovery/v0/conditions/convection.proto +1 -1
  10. ansys/api/discovery/v0/conditions/displacement.proto +1 -1
  11. ansys/api/discovery/v0/conditions/flow.proto +1 -1
  12. ansys/api/discovery/v0/conditions/fluidinitialtemperature.proto +1 -1
  13. ansys/api/discovery/v0/conditions/force.proto +6 -1
  14. ansys/api/discovery/v0/conditions/force_pb2.py +32 -31
  15. ansys/api/discovery/v0/conditions/force_pb2_grpc.py +67 -0
  16. ansys/api/discovery/v0/conditions/force_pb2_grpc.pyi +21 -0
  17. ansys/api/discovery/v0/conditions/gravity.proto +5 -2
  18. ansys/api/discovery/v0/conditions/gravity_pb2.py +8 -7
  19. ansys/api/discovery/v0/conditions/gravity_pb2_grpc.py +35 -0
  20. ansys/api/discovery/v0/conditions/gravity_pb2_grpc.pyi +12 -0
  21. ansys/api/discovery/v0/conditions/heat.proto +1 -1
  22. ansys/api/discovery/v0/conditions/insulated.proto +1 -1
  23. ansys/api/discovery/v0/conditions/mass.proto +1 -1
  24. ansys/api/discovery/v0/conditions/moment.proto +1 -1
  25. ansys/api/discovery/v0/conditions/porous.proto +1 -1
  26. ansys/api/discovery/v0/conditions/pressure.proto +1 -1
  27. ansys/api/discovery/v0/conditions/rotatingfluidzone.proto +1 -1
  28. ansys/api/discovery/v0/conditions/solidtemperature.proto +1 -1
  29. ansys/api/discovery/v0/conditions/springpreload.proto +1 -1
  30. ansys/api/discovery/v0/conditions/support.proto +1 -1
  31. ansys/api/discovery/v0/conditions/velocity.proto +1 -1
  32. ansys/api/discovery/v0/conditions/wall.proto +1 -1
  33. ansys/api/discovery/v0/connections/contact.proto +1 -1
  34. ansys/api/discovery/v0/connections/contactgroup.proto +3 -1
  35. ansys/api/discovery/v0/connections/contactgroup_pb2.py +12 -11
  36. ansys/api/discovery/v0/connections/contactgroup_pb2_grpc.py +34 -0
  37. ansys/api/discovery/v0/connections/contactgroup_pb2_grpc.pyi +11 -0
  38. ansys/api/discovery/v0/connections/joint.proto +1 -1
  39. ansys/api/discovery/v0/definedvariationstable.proto +1 -1
  40. ansys/api/discovery/v0/discoverymodels.proto +1 -1
  41. ansys/api/discovery/v0/engineeringdata/boltdata.proto +1 -1
  42. ansys/api/discovery/v0/historytrackparameters.proto +1 -1
  43. ansys/api/discovery/v0/messaging.proto +1 -1
  44. ansys/api/discovery/v0/monitors.proto +1 -1
  45. ansys/api/discovery/v0/results.proto +2 -2
  46. ansys/api/discovery/v0/results_pb2.py +6 -6
  47. ansys/api/discovery/v0/results_pb2.pyi +2 -2
  48. ansys/api/discovery/v0/scriptparameters.proto +1 -1
  49. ansys/api/discovery/v0/simulations.proto +1 -1
  50. ansys/api/discovery/v0/solution.proto +1 -1
  51. ansys/api/discovery/v0/units.proto +1 -1
  52. ansys/api/discovery/v0/unsupported.proto +1 -1
  53. {ansys_api_discovery-0.6.4.dist-info → ansys_api_discovery-0.6.6.dist-info}/METADATA +3 -3
  54. {ansys_api_discovery-0.6.4.dist-info → ansys_api_discovery-0.6.6.dist-info}/RECORD +58 -58
  55. {ansys_api_discovery-0.6.4.dist-info → ansys_api_discovery-0.6.6.dist-info}/LICENSE +0 -0
  56. {ansys_api_discovery-0.6.4.dist-info → ansys_api_discovery-0.6.6.dist-info}/WHEEL +0 -0
  57. {ansys_api_discovery-0.6.4.dist-info → ansys_api_discovery-0.6.6.dist-info}/entry_points.txt +0 -0
  58. {ansys_api_discovery-0.6.4.dist-info → ansys_api_discovery-0.6.6.dist-info}/top_level.txt +0 -0
@@ -1 +1 @@
1
- 0.6.4
1
+ 0.6.6
@@ -1,4 +1,4 @@
1
- // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.assignments.boltassignment;
4
4
 
@@ -1,4 +1,4 @@
1
- // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions.acceleration;
4
4
 
@@ -1,4 +1,4 @@
1
- // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions.bearing;
4
4
 
@@ -1,4 +1,4 @@
1
- // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions.boltpreload;
4
4
 
@@ -1,4 +1,4 @@
1
- // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions;
4
4
 
@@ -30,4 +30,8 @@ message ChangeConditionSuppressionStateRequest{
30
30
  message ChangeConditionNameRequest{
31
31
  ansys.api.dbu.v0.PhysicsEntityIdentifier object_id = 1;
32
32
  string new_name = 2;
33
+ }
34
+
35
+ message GetByLabelRequest{
36
+ string label = 1;
33
37
  }
@@ -15,7 +15,7 @@ from ansys.api.dbu.v0 import dbumodels_pb2 as ansys_dot_api_dot_dbu_dot_v0_dot_d
15
15
  from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
16
16
 
17
17
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1ansys/api/discovery/v0/conditions/condition.proto\x12!ansys.api.discovery.v0.conditions\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"V\n\x16\x44\x65leteConditionRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\"}\n&ChangeConditionSuppressionStateRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\x15\n\ris_suppressed\x18\x02 \x01(\x08\"l\n\x1a\x43hangeConditionNameRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\x10\n\x08new_name\x18\x02 \x01(\t2\x96\x03\n\tCondition\x12t\n\x0f\x44\x65leteCondition\x12\x39.ansys.api.discovery.v0.conditions.DeleteConditionRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x94\x01\n\x1f\x43hangeConditionSuppressionState\x12I.ansys.api.discovery.v0.conditions.ChangeConditionSuppressionStateRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12|\n\x13\x43hangeConditionName\x12=.ansys.api.discovery.v0.conditions.ChangeConditionNameRequest\x1a&.ansys.api.discovery.v0.ChangeResponseB$\xaa\x02!Ansys.Api.Discovery.V0.Conditionsb\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1ansys/api/discovery/v0/conditions/condition.proto\x12!ansys.api.discovery.v0.conditions\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"V\n\x16\x44\x65leteConditionRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\"}\n&ChangeConditionSuppressionStateRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\x15\n\ris_suppressed\x18\x02 \x01(\x08\"l\n\x1a\x43hangeConditionNameRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\x10\n\x08new_name\x18\x02 \x01(\t\"\"\n\x11GetByLabelRequest\x12\r\n\x05label\x18\x01 \x01(\t2\x96\x03\n\tCondition\x12t\n\x0f\x44\x65leteCondition\x12\x39.ansys.api.discovery.v0.conditions.DeleteConditionRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x94\x01\n\x1f\x43hangeConditionSuppressionState\x12I.ansys.api.discovery.v0.conditions.ChangeConditionSuppressionStateRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12|\n\x13\x43hangeConditionName\x12=.ansys.api.discovery.v0.conditions.ChangeConditionNameRequest\x1a&.ansys.api.discovery.v0.ChangeResponseB$\xaa\x02!Ansys.Api.Discovery.V0.Conditionsb\x06proto3')
19
19
 
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.conditions.condition_pb2', globals())
@@ -29,6 +29,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
29
29
  _CHANGECONDITIONSUPPRESSIONSTATEREQUEST._serialized_end=381
30
30
  _CHANGECONDITIONNAMEREQUEST._serialized_start=383
31
31
  _CHANGECONDITIONNAMEREQUEST._serialized_end=491
32
- _CONDITION._serialized_start=494
33
- _CONDITION._serialized_end=900
32
+ _GETBYLABELREQUEST._serialized_start=493
33
+ _GETBYLABELREQUEST._serialized_end=527
34
+ _CONDITION._serialized_start=530
35
+ _CONDITION._serialized_end=936
34
36
  # @@protoc_insertion_point(module_scope)
@@ -56,3 +56,14 @@ class ChangeConditionNameRequest(google.protobuf.message.Message):
56
56
  def HasField(self, field_name: typing_extensions.Literal["object_id",b"object_id"]) -> builtins.bool: ...
57
57
  def ClearField(self, field_name: typing_extensions.Literal["new_name",b"new_name","object_id",b"object_id"]) -> None: ...
58
58
  global___ChangeConditionNameRequest = ChangeConditionNameRequest
59
+
60
+ class GetByLabelRequest(google.protobuf.message.Message):
61
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
62
+ LABEL_FIELD_NUMBER: builtins.int
63
+ label: typing.Text = ...
64
+ def __init__(self,
65
+ *,
66
+ label : typing.Text = ...,
67
+ ) -> None: ...
68
+ def ClearField(self, field_name: typing_extensions.Literal["label",b"label"]) -> None: ...
69
+ global___GetByLabelRequest = GetByLabelRequest
@@ -1,4 +1,4 @@
1
- // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions.convection;
4
4
 
@@ -1,4 +1,4 @@
1
- // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions.displacement;
4
4
 
@@ -1,4 +1,4 @@
1
- // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions.flow;
4
4
 
@@ -1,4 +1,4 @@
1
- // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions.fluidinitialtemperature;
4
4
 
@@ -1,10 +1,12 @@
1
- // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions.force;
4
4
 
5
5
  import "ansys/api/dbu/v0/dbumodels.proto";
6
+ import "ansys/api/discovery/v0/conditions/condition.proto";
6
7
  import "ansys/api/discovery/v0/discoverymodels.proto";
7
8
 
9
+
8
10
  option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions";
9
11
 
10
12
  service Force
@@ -44,6 +46,9 @@ service Force
44
46
  rpc ChangeForceTorqueX(ChangeQuantityRequest) returns (ChangeResponse);
45
47
  rpc ChangeForceTorqueY(ChangeQuantityRequest) returns (ChangeResponse);
46
48
  rpc ChangeForceTorqueZ(ChangeQuantityRequest) returns (ChangeResponse);
49
+ rpc GetForceDistributedByLabel(ansys.api.discovery.v0.conditions.GetByLabelRequest)
50
+ returns (ForceDistributedDefinition);
51
+ rpc GetForceTorqueByLabel(ansys.api.discovery.v0.conditions.GetByLabelRequest) returns (ForceTorqueDefinition);
47
52
  }
48
53
 
49
54
  // Force
@@ -12,10 +12,11 @@ _sym_db = _symbol_database.Default()
12
12
 
13
13
 
14
14
  from ansys.api.dbu.v0 import dbumodels_pb2 as ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2
15
+ from ansys.api.discovery.v0.conditions import condition_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_condition__pb2
15
16
  from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
16
17
 
17
18
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-ansys/api/discovery/v0/conditions/force.proto\x12\'ansys.api.discovery.v0.conditions.force\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\xb9\x01\n\x1f\x43hangeForceSpecificationRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12X\n\x13\x66orce_specification\x18\x02 \x01(\x0e\x32;.ansys.api.discovery.v0.conditions.force.ForceSpecification\"\xcc\x01\n%ChangeForceMagnitudeDefinitionRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\x65\n\x1a\x66orce_magnitude_definition\x18\x02 \x01(\x0e\x32\x41.ansys.api.discovery.v0.conditions.force.ForceMagnitudeDefinition\"\xc8\x01\n$ForceDistributedTotalCreationRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12]\n\x10\x66orce_properties\x18\x02 \x01(\x0b\x32\x43.ansys.api.discovery.v0.conditions.force.ForceDistributedProperties\"\xca\x01\n%ForceDistributedTotalCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12[\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32\x43.ansys.api.discovery.v0.conditions.force.ForceDistributedDefinition\"\xc7\x01\n#ForceDistributedAreaCreationRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12]\n\x10\x66orce_properties\x18\x02 \x01(\x0b\x32\x43.ansys.api.discovery.v0.conditions.force.ForceDistributedProperties\"\xc9\x01\n$ForceDistributedAreaCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12[\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32\x43.ansys.api.discovery.v0.conditions.force.ForceDistributedDefinition\"\xb9\x01\n\x1a\x46orceTorqueCreationRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12X\n\x10\x66orce_properties\x18\x02 \x01(\x0b\x32>.ansys.api.discovery.v0.conditions.force.ForceTorqueProperties\"\xbb\x01\n\x1b\x46orceTorqueCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12V\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32>.ansys.api.discovery.v0.conditions.force.ForceTorqueDefinition\"\xa7\x02\n\x1a\x46orceDistributedDefinition\x12\x35\n\x02id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12<\n\tparent_id\x18\x02 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\r\n\x05label\x18\x03 \x01(\t\x12\x11\n\tlocations\x18\x04 \x03(\t\x12\x12\n\nsuppressed\x18\x05 \x01(\x08\x12^\n\x11\x66orce_distributed\x18\x06 \x01(\x0b\x32\x43.ansys.api.discovery.v0.conditions.force.ForceDistributedProperties\"\xcd\x01\n\x1a\x46orceDistributedProperties\x12/\n\x05\x66orce\x18\x01 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12@\n\x10\x66orce_components\x18\x02 \x01(\x0b\x32&.ansys.api.discovery.v0.OptionalVector\x12<\n\x0cremote_point\x18\x03 \x01(\x0b\x32&.ansys.api.discovery.v0.OptionalVector\"\x98\x02\n\x15\x46orceTorqueDefinition\x12\x35\n\x02id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12<\n\tparent_id\x18\x02 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\r\n\x05label\x18\x03 \x01(\t\x12\x11\n\tlocations\x18\x04 \x03(\t\x12\x12\n\nsuppressed\x18\x05 \x01(\x08\x12T\n\x0c\x66orce_torque\x18\x06 \x01(\x0b\x32>.ansys.api.discovery.v0.conditions.force.ForceTorqueProperties\"\x8a\x01\n\x15\x46orceTorqueProperties\x12/\n\x05\x66orce\x18\x01 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12@\n\x10\x66orce_components\x18\x02 \x01(\x0b\x32&.ansys.api.discovery.v0.OptionalVector*<\n\x18\x46orceMagnitudeDefinition\x12\x0e\n\nTOTALFORCE\x10\x00\x12\x10\n\x0c\x46ORCEPERAREA\x10\x01*1\n\x12\x46orceSpecification\x12\x0f\n\x0b\x44ISTRIBUTED\x10\x00\x12\n\n\x06TORQUE\x10\x01\x32\xac\x18\n\x05\x46orce\x12\xbc\x01\n\x1b\x43reateForceDistributedTotal\x12M.ansys.api.discovery.v0.conditions.force.ForceDistributedTotalCreationRequest\x1aN.ansys.api.discovery.v0.conditions.force.ForceDistributedTotalCreationResponse\x12\xb9\x01\n\x1a\x43reateForceDistributedArea\x12L.ansys.api.discovery.v0.conditions.force.ForceDistributedAreaCreationRequest\x1aM.ansys.api.discovery.v0.conditions.force.ForceDistributedAreaCreationResponse\x12\x9e\x01\n\x11\x43reateForceTorque\x12\x43.ansys.api.discovery.v0.conditions.force.ForceTorqueCreationRequest\x1a\x44.ansys.api.discovery.v0.conditions.force.ForceTorqueCreationResponse\x12l\n\x13\x43hangeForceLocation\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x8c\x01\n\x18\x43hangeForceSpecification\x12H.ansys.api.discovery.v0.conditions.force.ChangeForceSpecificationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x98\x01\n\x1e\x43hangeForceMagnitudeDefinition\x12N.ansys.api.discovery.v0.conditions.force.ChangeForceMagnitudeDefinitionRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12w\n\x1f\x43hangeForceByReversingDirection\x12,.ansys.api.discovery.v0.ChangeCommandRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12|\n$ChangeForceDefinedByComponentEnabled\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12}\n$ChangeForceDistributedTotalMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12u\n\x1c\x43hangeForceDistributedTotalX\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12u\n\x1c\x43hangeForceDistributedTotalY\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12u\n\x1c\x43hangeForceDistributedTotalZ\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12|\n#ChangeForceDistributedAreaMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12t\n\x1b\x43hangeForceDistributedAreaX\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12t\n\x1b\x43hangeForceDistributedAreaY\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12t\n\x1b\x43hangeForceDistributedAreaZ\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12x\n ChangeForceUseRemoteForceEnabled\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12~\n%ChangeForceDistributedRemotePositionX\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12~\n%ChangeForceDistributedRemotePositionY\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12~\n%ChangeForceDistributedRemotePositionZ\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12s\n\x1a\x43hangeForceTorqueMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12k\n\x12\x43hangeForceTorqueX\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12k\n\x12\x43hangeForceTorqueY\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12k\n\x12\x43hangeForceTorqueZ\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponseB$\xaa\x02!Ansys.Api.Discovery.V0.Conditionsb\x06proto3')
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-ansys/api/discovery/v0/conditions/force.proto\x12\'ansys.api.discovery.v0.conditions.force\x1a ansys/api/dbu/v0/dbumodels.proto\x1a\x31\x61nsys/api/discovery/v0/conditions/condition.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\xb9\x01\n\x1f\x43hangeForceSpecificationRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12X\n\x13\x66orce_specification\x18\x02 \x01(\x0e\x32;.ansys.api.discovery.v0.conditions.force.ForceSpecification\"\xcc\x01\n%ChangeForceMagnitudeDefinitionRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\x65\n\x1a\x66orce_magnitude_definition\x18\x02 \x01(\x0e\x32\x41.ansys.api.discovery.v0.conditions.force.ForceMagnitudeDefinition\"\xc8\x01\n$ForceDistributedTotalCreationRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12]\n\x10\x66orce_properties\x18\x02 \x01(\x0b\x32\x43.ansys.api.discovery.v0.conditions.force.ForceDistributedProperties\"\xca\x01\n%ForceDistributedTotalCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12[\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32\x43.ansys.api.discovery.v0.conditions.force.ForceDistributedDefinition\"\xc7\x01\n#ForceDistributedAreaCreationRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12]\n\x10\x66orce_properties\x18\x02 \x01(\x0b\x32\x43.ansys.api.discovery.v0.conditions.force.ForceDistributedProperties\"\xc9\x01\n$ForceDistributedAreaCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12[\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32\x43.ansys.api.discovery.v0.conditions.force.ForceDistributedDefinition\"\xb9\x01\n\x1a\x46orceTorqueCreationRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12X\n\x10\x66orce_properties\x18\x02 \x01(\x0b\x32>.ansys.api.discovery.v0.conditions.force.ForceTorqueProperties\"\xbb\x01\n\x1b\x46orceTorqueCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12V\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32>.ansys.api.discovery.v0.conditions.force.ForceTorqueDefinition\"\xa7\x02\n\x1a\x46orceDistributedDefinition\x12\x35\n\x02id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12<\n\tparent_id\x18\x02 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\r\n\x05label\x18\x03 \x01(\t\x12\x11\n\tlocations\x18\x04 \x03(\t\x12\x12\n\nsuppressed\x18\x05 \x01(\x08\x12^\n\x11\x66orce_distributed\x18\x06 \x01(\x0b\x32\x43.ansys.api.discovery.v0.conditions.force.ForceDistributedProperties\"\xcd\x01\n\x1a\x46orceDistributedProperties\x12/\n\x05\x66orce\x18\x01 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12@\n\x10\x66orce_components\x18\x02 \x01(\x0b\x32&.ansys.api.discovery.v0.OptionalVector\x12<\n\x0cremote_point\x18\x03 \x01(\x0b\x32&.ansys.api.discovery.v0.OptionalVector\"\x98\x02\n\x15\x46orceTorqueDefinition\x12\x35\n\x02id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12<\n\tparent_id\x18\x02 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\r\n\x05label\x18\x03 \x01(\t\x12\x11\n\tlocations\x18\x04 \x03(\t\x12\x12\n\nsuppressed\x18\x05 \x01(\x08\x12T\n\x0c\x66orce_torque\x18\x06 \x01(\x0b\x32>.ansys.api.discovery.v0.conditions.force.ForceTorqueProperties\"\x8a\x01\n\x15\x46orceTorqueProperties\x12/\n\x05\x66orce\x18\x01 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12@\n\x10\x66orce_components\x18\x02 \x01(\x0b\x32&.ansys.api.discovery.v0.OptionalVector*<\n\x18\x46orceMagnitudeDefinition\x12\x0e\n\nTOTALFORCE\x10\x00\x12\x10\n\x0c\x46ORCEPERAREA\x10\x01*1\n\x12\x46orceSpecification\x12\x0f\n\x0b\x44ISTRIBUTED\x10\x00\x12\n\n\x06TORQUE\x10\x01\x32\xd6\x1a\n\x05\x46orce\x12\xbc\x01\n\x1b\x43reateForceDistributedTotal\x12M.ansys.api.discovery.v0.conditions.force.ForceDistributedTotalCreationRequest\x1aN.ansys.api.discovery.v0.conditions.force.ForceDistributedTotalCreationResponse\x12\xb9\x01\n\x1a\x43reateForceDistributedArea\x12L.ansys.api.discovery.v0.conditions.force.ForceDistributedAreaCreationRequest\x1aM.ansys.api.discovery.v0.conditions.force.ForceDistributedAreaCreationResponse\x12\x9e\x01\n\x11\x43reateForceTorque\x12\x43.ansys.api.discovery.v0.conditions.force.ForceTorqueCreationRequest\x1a\x44.ansys.api.discovery.v0.conditions.force.ForceTorqueCreationResponse\x12l\n\x13\x43hangeForceLocation\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x8c\x01\n\x18\x43hangeForceSpecification\x12H.ansys.api.discovery.v0.conditions.force.ChangeForceSpecificationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x98\x01\n\x1e\x43hangeForceMagnitudeDefinition\x12N.ansys.api.discovery.v0.conditions.force.ChangeForceMagnitudeDefinitionRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12w\n\x1f\x43hangeForceByReversingDirection\x12,.ansys.api.discovery.v0.ChangeCommandRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12|\n$ChangeForceDefinedByComponentEnabled\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12}\n$ChangeForceDistributedTotalMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12u\n\x1c\x43hangeForceDistributedTotalX\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12u\n\x1c\x43hangeForceDistributedTotalY\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12u\n\x1c\x43hangeForceDistributedTotalZ\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12|\n#ChangeForceDistributedAreaMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12t\n\x1b\x43hangeForceDistributedAreaX\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12t\n\x1b\x43hangeForceDistributedAreaY\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12t\n\x1b\x43hangeForceDistributedAreaZ\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12x\n ChangeForceUseRemoteForceEnabled\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12~\n%ChangeForceDistributedRemotePositionX\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12~\n%ChangeForceDistributedRemotePositionY\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12~\n%ChangeForceDistributedRemotePositionZ\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12s\n\x1a\x43hangeForceTorqueMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12k\n\x12\x43hangeForceTorqueX\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12k\n\x12\x43hangeForceTorqueY\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12k\n\x12\x43hangeForceTorqueZ\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x97\x01\n\x1aGetForceDistributedByLabel\x12\x34.ansys.api.discovery.v0.conditions.GetByLabelRequest\x1a\x43.ansys.api.discovery.v0.conditions.force.ForceDistributedDefinition\x12\x8d\x01\n\x15GetForceTorqueByLabel\x12\x34.ansys.api.discovery.v0.conditions.GetByLabelRequest\x1a>.ansys.api.discovery.v0.conditions.force.ForceTorqueDefinitionB$\xaa\x02!Ansys.Api.Discovery.V0.Conditionsb\x06proto3')
19
20
 
20
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.conditions.force_pb2', globals())
@@ -23,34 +24,34 @@ if _descriptor._USE_C_DESCRIPTORS == False:
23
24
 
24
25
  DESCRIPTOR._options = None
25
26
  DESCRIPTOR._serialized_options = b'\252\002!Ansys.Api.Discovery.V0.Conditions'
26
- _FORCEMAGNITUDEDEFINITION._serialized_start=2687
27
- _FORCEMAGNITUDEDEFINITION._serialized_end=2747
28
- _FORCESPECIFICATION._serialized_start=2749
29
- _FORCESPECIFICATION._serialized_end=2798
30
- _CHANGEFORCESPECIFICATIONREQUEST._serialized_start=171
31
- _CHANGEFORCESPECIFICATIONREQUEST._serialized_end=356
32
- _CHANGEFORCEMAGNITUDEDEFINITIONREQUEST._serialized_start=359
33
- _CHANGEFORCEMAGNITUDEDEFINITIONREQUEST._serialized_end=563
34
- _FORCEDISTRIBUTEDTOTALCREATIONREQUEST._serialized_start=566
35
- _FORCEDISTRIBUTEDTOTALCREATIONREQUEST._serialized_end=766
36
- _FORCEDISTRIBUTEDTOTALCREATIONRESPONSE._serialized_start=769
37
- _FORCEDISTRIBUTEDTOTALCREATIONRESPONSE._serialized_end=971
38
- _FORCEDISTRIBUTEDAREACREATIONREQUEST._serialized_start=974
39
- _FORCEDISTRIBUTEDAREACREATIONREQUEST._serialized_end=1173
40
- _FORCEDISTRIBUTEDAREACREATIONRESPONSE._serialized_start=1176
41
- _FORCEDISTRIBUTEDAREACREATIONRESPONSE._serialized_end=1377
42
- _FORCETORQUECREATIONREQUEST._serialized_start=1380
43
- _FORCETORQUECREATIONREQUEST._serialized_end=1565
44
- _FORCETORQUECREATIONRESPONSE._serialized_start=1568
45
- _FORCETORQUECREATIONRESPONSE._serialized_end=1755
46
- _FORCEDISTRIBUTEDDEFINITION._serialized_start=1758
47
- _FORCEDISTRIBUTEDDEFINITION._serialized_end=2053
48
- _FORCEDISTRIBUTEDPROPERTIES._serialized_start=2056
49
- _FORCEDISTRIBUTEDPROPERTIES._serialized_end=2261
50
- _FORCETORQUEDEFINITION._serialized_start=2264
51
- _FORCETORQUEDEFINITION._serialized_end=2544
52
- _FORCETORQUEPROPERTIES._serialized_start=2547
53
- _FORCETORQUEPROPERTIES._serialized_end=2685
54
- _FORCE._serialized_start=2801
55
- _FORCE._serialized_end=5917
27
+ _FORCEMAGNITUDEDEFINITION._serialized_start=2738
28
+ _FORCEMAGNITUDEDEFINITION._serialized_end=2798
29
+ _FORCESPECIFICATION._serialized_start=2800
30
+ _FORCESPECIFICATION._serialized_end=2849
31
+ _CHANGEFORCESPECIFICATIONREQUEST._serialized_start=222
32
+ _CHANGEFORCESPECIFICATIONREQUEST._serialized_end=407
33
+ _CHANGEFORCEMAGNITUDEDEFINITIONREQUEST._serialized_start=410
34
+ _CHANGEFORCEMAGNITUDEDEFINITIONREQUEST._serialized_end=614
35
+ _FORCEDISTRIBUTEDTOTALCREATIONREQUEST._serialized_start=617
36
+ _FORCEDISTRIBUTEDTOTALCREATIONREQUEST._serialized_end=817
37
+ _FORCEDISTRIBUTEDTOTALCREATIONRESPONSE._serialized_start=820
38
+ _FORCEDISTRIBUTEDTOTALCREATIONRESPONSE._serialized_end=1022
39
+ _FORCEDISTRIBUTEDAREACREATIONREQUEST._serialized_start=1025
40
+ _FORCEDISTRIBUTEDAREACREATIONREQUEST._serialized_end=1224
41
+ _FORCEDISTRIBUTEDAREACREATIONRESPONSE._serialized_start=1227
42
+ _FORCEDISTRIBUTEDAREACREATIONRESPONSE._serialized_end=1428
43
+ _FORCETORQUECREATIONREQUEST._serialized_start=1431
44
+ _FORCETORQUECREATIONREQUEST._serialized_end=1616
45
+ _FORCETORQUECREATIONRESPONSE._serialized_start=1619
46
+ _FORCETORQUECREATIONRESPONSE._serialized_end=1806
47
+ _FORCEDISTRIBUTEDDEFINITION._serialized_start=1809
48
+ _FORCEDISTRIBUTEDDEFINITION._serialized_end=2104
49
+ _FORCEDISTRIBUTEDPROPERTIES._serialized_start=2107
50
+ _FORCEDISTRIBUTEDPROPERTIES._serialized_end=2312
51
+ _FORCETORQUEDEFINITION._serialized_start=2315
52
+ _FORCETORQUEDEFINITION._serialized_end=2595
53
+ _FORCETORQUEPROPERTIES._serialized_start=2598
54
+ _FORCETORQUEPROPERTIES._serialized_end=2736
55
+ _FORCE._serialized_start=2852
56
+ _FORCE._serialized_end=6266
56
57
  # @@protoc_insertion_point(module_scope)
@@ -2,6 +2,7 @@
2
2
  """Client and server classes corresponding to protobuf-defined services."""
3
3
  import grpc
4
4
 
5
+ from ansys.api.discovery.v0.conditions import condition_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_condition__pb2
5
6
  from ansys.api.discovery.v0.conditions import force_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_force__pb2
6
7
  from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
7
8
 
@@ -136,6 +137,16 @@ class ForceStub(object):
136
137
  request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
137
138
  response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
138
139
  )
140
+ self.GetForceDistributedByLabel = channel.unary_unary(
141
+ '/ansys.api.discovery.v0.conditions.force.Force/GetForceDistributedByLabel',
142
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_condition__pb2.GetByLabelRequest.SerializeToString,
143
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_force__pb2.ForceDistributedDefinition.FromString,
144
+ )
145
+ self.GetForceTorqueByLabel = channel.unary_unary(
146
+ '/ansys.api.discovery.v0.conditions.force.Force/GetForceTorqueByLabel',
147
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_condition__pb2.GetByLabelRequest.SerializeToString,
148
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_force__pb2.ForceTorqueDefinition.FromString,
149
+ )
139
150
 
140
151
 
141
152
  class ForceServicer(object):
@@ -286,6 +297,18 @@ class ForceServicer(object):
286
297
  context.set_details('Method not implemented!')
287
298
  raise NotImplementedError('Method not implemented!')
288
299
 
300
+ def GetForceDistributedByLabel(self, request, context):
301
+ """Missing associated documentation comment in .proto file."""
302
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
303
+ context.set_details('Method not implemented!')
304
+ raise NotImplementedError('Method not implemented!')
305
+
306
+ def GetForceTorqueByLabel(self, request, context):
307
+ """Missing associated documentation comment in .proto file."""
308
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
309
+ context.set_details('Method not implemented!')
310
+ raise NotImplementedError('Method not implemented!')
311
+
289
312
 
290
313
  def add_ForceServicer_to_server(servicer, server):
291
314
  rpc_method_handlers = {
@@ -409,6 +432,16 @@ def add_ForceServicer_to_server(servicer, server):
409
432
  request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
410
433
  response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
411
434
  ),
435
+ 'GetForceDistributedByLabel': grpc.unary_unary_rpc_method_handler(
436
+ servicer.GetForceDistributedByLabel,
437
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_condition__pb2.GetByLabelRequest.FromString,
438
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_force__pb2.ForceDistributedDefinition.SerializeToString,
439
+ ),
440
+ 'GetForceTorqueByLabel': grpc.unary_unary_rpc_method_handler(
441
+ servicer.GetForceTorqueByLabel,
442
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_condition__pb2.GetByLabelRequest.FromString,
443
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_force__pb2.ForceTorqueDefinition.SerializeToString,
444
+ ),
412
445
  }
413
446
  generic_handler = grpc.method_handlers_generic_handler(
414
447
  'ansys.api.discovery.v0.conditions.force.Force', rpc_method_handlers)
@@ -827,3 +860,37 @@ class Force(object):
827
860
  ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
828
861
  options, channel_credentials,
829
862
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
863
+
864
+ @staticmethod
865
+ def GetForceDistributedByLabel(request,
866
+ target,
867
+ options=(),
868
+ channel_credentials=None,
869
+ call_credentials=None,
870
+ insecure=False,
871
+ compression=None,
872
+ wait_for_ready=None,
873
+ timeout=None,
874
+ metadata=None):
875
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.force.Force/GetForceDistributedByLabel',
876
+ ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_condition__pb2.GetByLabelRequest.SerializeToString,
877
+ ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_force__pb2.ForceDistributedDefinition.FromString,
878
+ options, channel_credentials,
879
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
880
+
881
+ @staticmethod
882
+ def GetForceTorqueByLabel(request,
883
+ target,
884
+ options=(),
885
+ channel_credentials=None,
886
+ call_credentials=None,
887
+ insecure=False,
888
+ compression=None,
889
+ wait_for_ready=None,
890
+ timeout=None,
891
+ metadata=None):
892
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.force.Force/GetForceTorqueByLabel',
893
+ ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_condition__pb2.GetByLabelRequest.SerializeToString,
894
+ ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_force__pb2.ForceTorqueDefinition.FromString,
895
+ options, channel_credentials,
896
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -3,6 +3,7 @@
3
3
  isort:skip_file
4
4
  """
5
5
  import abc
6
+ import ansys.api.discovery.v0.conditions.condition_pb2
6
7
  import ansys.api.discovery.v0.conditions.force_pb2
7
8
  import ansys.api.discovery.v0.discoverymodels_pb2
8
9
  import grpc
@@ -106,6 +107,14 @@ class ForceStub:
106
107
  ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
107
108
  ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
108
109
 
110
+ GetForceDistributedByLabel: grpc.UnaryUnaryMultiCallable[
111
+ ansys.api.discovery.v0.conditions.condition_pb2.GetByLabelRequest,
112
+ ansys.api.discovery.v0.conditions.force_pb2.ForceDistributedDefinition] = ...
113
+
114
+ GetForceTorqueByLabel: grpc.UnaryUnaryMultiCallable[
115
+ ansys.api.discovery.v0.conditions.condition_pb2.GetByLabelRequest,
116
+ ansys.api.discovery.v0.conditions.force_pb2.ForceTorqueDefinition] = ...
117
+
109
118
 
110
119
  class ForceServicer(metaclass=abc.ABCMeta):
111
120
  """Force condition methods"""
@@ -253,5 +262,17 @@ class ForceServicer(metaclass=abc.ABCMeta):
253
262
  context: grpc.ServicerContext,
254
263
  ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
255
264
 
265
+ @abc.abstractmethod
266
+ def GetForceDistributedByLabel(self,
267
+ request: ansys.api.discovery.v0.conditions.condition_pb2.GetByLabelRequest,
268
+ context: grpc.ServicerContext,
269
+ ) -> ansys.api.discovery.v0.conditions.force_pb2.ForceDistributedDefinition: ...
270
+
271
+ @abc.abstractmethod
272
+ def GetForceTorqueByLabel(self,
273
+ request: ansys.api.discovery.v0.conditions.condition_pb2.GetByLabelRequest,
274
+ context: grpc.ServicerContext,
275
+ ) -> ansys.api.discovery.v0.conditions.force_pb2.ForceTorqueDefinition: ...
276
+
256
277
 
257
278
  def add_ForceServicer_to_server(servicer: ForceServicer, server: grpc.Server) -> None: ...
@@ -1,8 +1,9 @@
1
- // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions.gravity;
4
4
 
5
5
  import "ansys/api/dbu/v0/dbumodels.proto";
6
+ import "ansys/api/discovery/v0/conditions/condition.proto";
6
7
  import "ansys/api/discovery/v0/discoverymodels.proto";
7
8
 
8
9
  option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions";
@@ -20,6 +21,7 @@ service Gravity
20
21
 
21
22
  rpc ChangeGravityUseBuoyancyEnabled(ChangeBooleanRequest) returns (ChangeResponse);
22
23
  rpc ChangeGravityIncludeSelfWeightEnabled(ChangeBooleanRequest) returns (ChangeResponse);
24
+ rpc GetByLabel(ansys.api.discovery.v0.conditions.GetByLabelRequest) returns (GravityDefinition);
23
25
  }
24
26
 
25
27
  // Gravity condition definitions
@@ -36,4 +38,5 @@ message GravityDefinition {
36
38
  repeated string locations = 4;
37
39
  bool suppressed = 5;
38
40
  GravityProperties gravity = 6;
39
- }
41
+ }
42
+
@@ -12,10 +12,11 @@ _sym_db = _symbol_database.Default()
12
12
 
13
13
 
14
14
  from ansys.api.dbu.v0 import dbumodels_pb2 as ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2
15
+ from ansys.api.discovery.v0.conditions import condition_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_condition__pb2
15
16
  from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
16
17
 
17
18
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/ansys/api/discovery/v0/conditions/gravity.proto\x12)ansys.api.discovery.v0.conditions.gravity\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\x94\x01\n\x11GravityProperties\x12H\n\x0c\x61\x63\x63\x65leration\x18\x01 \x01(\x0b\x32\x32.ansys.api.discovery.v0.VectorOfOptionalQuantities\x12\x18\n\x10include_buoyancy\x18\x02 \x01(\x08\x12\x1b\n\x13include_self_weight\x18\x03 \x01(\x08\"\x8d\x02\n\x11GravityDefinition\x12\x35\n\x02id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12<\n\tparent_id\x18\x02 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\r\n\x05label\x18\x03 \x01(\t\x12\x11\n\tlocations\x18\x04 \x03(\t\x12\x12\n\nsuppressed\x18\x05 \x01(\x08\x12M\n\x07gravity\x18\x06 \x01(\x0b\x32<.ansys.api.discovery.v0.conditions.gravity.GravityProperties2\xb1\x06\n\x07Gravity\x12r\n\x18\x43hangeGravityOrientation\x12..ansys.api.discovery.v0.ChangeDirectionRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12h\n\x0f\x43hangeGravityDX\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12h\n\x0f\x43hangeGravityDY\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12h\n\x0f\x43hangeGravityDZ\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12|\n#ChangeGravityTranslationalMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12w\n\x1f\x43hangeGravityUseBuoyancyEnabled\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12}\n%ChangeGravityIncludeSelfWeightEnabled\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponseB$\xaa\x02!Ansys.Api.Discovery.V0.Conditionsb\x06proto3')
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/ansys/api/discovery/v0/conditions/gravity.proto\x12)ansys.api.discovery.v0.conditions.gravity\x1a ansys/api/dbu/v0/dbumodels.proto\x1a\x31\x61nsys/api/discovery/v0/conditions/condition.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\x94\x01\n\x11GravityProperties\x12H\n\x0c\x61\x63\x63\x65leration\x18\x01 \x01(\x0b\x32\x32.ansys.api.discovery.v0.VectorOfOptionalQuantities\x12\x18\n\x10include_buoyancy\x18\x02 \x01(\x08\x12\x1b\n\x13include_self_weight\x18\x03 \x01(\x08\"\x8d\x02\n\x11GravityDefinition\x12\x35\n\x02id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12<\n\tparent_id\x18\x02 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\r\n\x05label\x18\x03 \x01(\t\x12\x11\n\tlocations\x18\x04 \x03(\t\x12\x12\n\nsuppressed\x18\x05 \x01(\x08\x12M\n\x07gravity\x18\x06 \x01(\x0b\x32<.ansys.api.discovery.v0.conditions.gravity.GravityProperties2\xb4\x07\n\x07Gravity\x12r\n\x18\x43hangeGravityOrientation\x12..ansys.api.discovery.v0.ChangeDirectionRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12h\n\x0f\x43hangeGravityDX\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12h\n\x0f\x43hangeGravityDY\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12h\n\x0f\x43hangeGravityDZ\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12|\n#ChangeGravityTranslationalMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12w\n\x1f\x43hangeGravityUseBuoyancyEnabled\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12}\n%ChangeGravityIncludeSelfWeightEnabled\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x80\x01\n\nGetByLabel\x12\x34.ansys.api.discovery.v0.conditions.GetByLabelRequest\x1a<.ansys.api.discovery.v0.conditions.gravity.GravityDefinitionB$\xaa\x02!Ansys.Api.Discovery.V0.Conditionsb\x06proto3')
19
20
 
20
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.conditions.gravity_pb2', globals())
@@ -23,10 +24,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
23
24
 
24
25
  DESCRIPTOR._options = None
25
26
  DESCRIPTOR._serialized_options = b'\252\002!Ansys.Api.Discovery.V0.Conditions'
26
- _GRAVITYPROPERTIES._serialized_start=175
27
- _GRAVITYPROPERTIES._serialized_end=323
28
- _GRAVITYDEFINITION._serialized_start=326
29
- _GRAVITYDEFINITION._serialized_end=595
30
- _GRAVITY._serialized_start=598
31
- _GRAVITY._serialized_end=1415
27
+ _GRAVITYPROPERTIES._serialized_start=226
28
+ _GRAVITYPROPERTIES._serialized_end=374
29
+ _GRAVITYDEFINITION._serialized_start=377
30
+ _GRAVITYDEFINITION._serialized_end=646
31
+ _GRAVITY._serialized_start=649
32
+ _GRAVITY._serialized_end=1597
32
33
  # @@protoc_insertion_point(module_scope)
@@ -2,6 +2,8 @@
2
2
  """Client and server classes corresponding to protobuf-defined services."""
3
3
  import grpc
4
4
 
5
+ from ansys.api.discovery.v0.conditions import condition_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_condition__pb2
6
+ from ansys.api.discovery.v0.conditions import gravity_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_gravity__pb2
5
7
  from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
6
8
 
7
9
 
@@ -49,6 +51,11 @@ class GravityStub(object):
49
51
  request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.SerializeToString,
50
52
  response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
51
53
  )
54
+ self.GetByLabel = channel.unary_unary(
55
+ '/ansys.api.discovery.v0.conditions.gravity.Gravity/GetByLabel',
56
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_condition__pb2.GetByLabelRequest.SerializeToString,
57
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_gravity__pb2.GravityDefinition.FromString,
58
+ )
52
59
 
53
60
 
54
61
  class GravityServicer(object):
@@ -98,6 +105,12 @@ class GravityServicer(object):
98
105
  context.set_details('Method not implemented!')
99
106
  raise NotImplementedError('Method not implemented!')
100
107
 
108
+ def GetByLabel(self, request, context):
109
+ """Missing associated documentation comment in .proto file."""
110
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
111
+ context.set_details('Method not implemented!')
112
+ raise NotImplementedError('Method not implemented!')
113
+
101
114
 
102
115
  def add_GravityServicer_to_server(servicer, server):
103
116
  rpc_method_handlers = {
@@ -136,6 +149,11 @@ def add_GravityServicer_to_server(servicer, server):
136
149
  request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.FromString,
137
150
  response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
138
151
  ),
152
+ 'GetByLabel': grpc.unary_unary_rpc_method_handler(
153
+ servicer.GetByLabel,
154
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_condition__pb2.GetByLabelRequest.FromString,
155
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_gravity__pb2.GravityDefinition.SerializeToString,
156
+ ),
139
157
  }
140
158
  generic_handler = grpc.method_handlers_generic_handler(
141
159
  'ansys.api.discovery.v0.conditions.gravity.Gravity', rpc_method_handlers)
@@ -264,3 +282,20 @@ class Gravity(object):
264
282
  ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
265
283
  options, channel_credentials,
266
284
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
285
+
286
+ @staticmethod
287
+ def GetByLabel(request,
288
+ target,
289
+ options=(),
290
+ channel_credentials=None,
291
+ call_credentials=None,
292
+ insecure=False,
293
+ compression=None,
294
+ wait_for_ready=None,
295
+ timeout=None,
296
+ metadata=None):
297
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.gravity.Gravity/GetByLabel',
298
+ ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_condition__pb2.GetByLabelRequest.SerializeToString,
299
+ ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_gravity__pb2.GravityDefinition.FromString,
300
+ options, channel_credentials,
301
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -3,6 +3,8 @@
3
3
  isort:skip_file
4
4
  """
5
5
  import abc
6
+ import ansys.api.discovery.v0.conditions.condition_pb2
7
+ import ansys.api.discovery.v0.conditions.gravity_pb2
6
8
  import ansys.api.discovery.v0.discoverymodels_pb2
7
9
  import grpc
8
10
 
@@ -39,6 +41,10 @@ class GravityStub:
39
41
  ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
40
42
  ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
41
43
 
44
+ GetByLabel: grpc.UnaryUnaryMultiCallable[
45
+ ansys.api.discovery.v0.conditions.condition_pb2.GetByLabelRequest,
46
+ ansys.api.discovery.v0.conditions.gravity_pb2.GravityDefinition] = ...
47
+
42
48
 
43
49
  class GravityServicer(metaclass=abc.ABCMeta):
44
50
  @abc.abstractmethod
@@ -87,5 +93,11 @@ class GravityServicer(metaclass=abc.ABCMeta):
87
93
  context: grpc.ServicerContext,
88
94
  ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
89
95
 
96
+ @abc.abstractmethod
97
+ def GetByLabel(self,
98
+ request: ansys.api.discovery.v0.conditions.condition_pb2.GetByLabelRequest,
99
+ context: grpc.ServicerContext,
100
+ ) -> ansys.api.discovery.v0.conditions.gravity_pb2.GravityDefinition: ...
101
+
90
102
 
91
103
  def add_GravityServicer_to_server(servicer: GravityServicer, server: grpc.Server) -> None: ...
@@ -1,4 +1,4 @@
1
- // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions.heat;
4
4
 
@@ -1,4 +1,4 @@
1
- // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions.insulated;
4
4
 
@@ -1,4 +1,4 @@
1
- // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions.mass;
4
4
 
@@ -1,4 +1,4 @@
1
- // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions.moment;
4
4
 
@@ -1,4 +1,4 @@
1
- // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions.porous;
4
4
 
@@ -1,4 +1,4 @@
1
- // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions.pressure;
4
4
 
@@ -1,4 +1,4 @@
1
- // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions.rotatingfluidzone;
4
4
 
@@ -1,4 +1,4 @@
1
- // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions.solidtemperature;
4
4
 
@@ -1,4 +1,4 @@
1
- // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions.springpreload;
4
4
 
@@ -1,4 +1,4 @@
1
- // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions.support;
4
4