diff --git a/ansys/api/geometry/v0/designs.proto b/ansys/api/geometry/v0/designs.proto index 59c5396..d5368bb 100644 --- a/ansys/api/geometry/v0/designs.proto +++ b/ansys/api/geometry/v0/designs.proto @@ -1,4 +1,4 @@ -// ©2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// ©2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; package ansys.api.geometry.v0.Designs; @@ -30,6 +30,8 @@ service Designs{ rpc Export(ExportRequest) returns(ExportResponse); rpc GetAsJson(GetAsJsonRequest) returns(GetAsJsonResponse); + + rpc GetAssembly(EntityIdentifier) returns (GetAssemblyResponse); } message GetAllResponse{ @@ -65,6 +67,22 @@ message ExportResponse { message GetAsJsonRequest { string id=1; } + message GetAsJsonResponse { string json=1; -} \ No newline at end of file +} + +message CoordinateSystemList { + repeated CoordinateSystem coordinate_systems=1; +} + +message GetAssemblyResponse { + repeated Part parts=1; + repeated Component transformed_parts=2; + repeated Component components=3; + repeated Body bodies=4; + repeated Material materials=5; + repeated NamedSelection named_selections=6; + map component_coord_systems=7; + map component_shared_topologies=8; +} diff --git a/ansys/api/geometry/v0/models.proto b/ansys/api/geometry/v0/models.proto index a6a46b6..4350691 100644 --- a/ansys/api/geometry/v0/models.proto +++ b/ansys/api/geometry/v0/models.proto @@ -1,4 +1,4 @@ -// ©2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// ©2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; package ansys.api.geometry.v0; @@ -107,6 +107,7 @@ message Body{ Matrix transform_to_master = 6; BodyMasterNullable master = 7; string master_id = 8; + string parent_id = 9; } // @@ -146,6 +147,9 @@ message Component{ string name = 2; Part part_occurrence = 3; Matrix placement =4; + string master_id=5; + string parent_id=6; + Part part_master=7; } //