Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ansys/api/geometry/v0/commands.proto
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,7 @@ message GetAssemblyResponse {
repeated NamedSelection named_selections=6;
map <string, CoordinateSystemList> component_coord_systems=7;
map <string, int32> component_shared_topologies=8;
repeated Beam beams=9;
}

message MoveTranslateRequest{
Expand Down
2 changes: 1 addition & 1 deletion ansys/api/geometry/v0/models.proto
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ message NamedSelection {
repeated Body bodies = 4;
repeated Face faces = 5;
repeated Edge edges = 6;
repeated ansys.api.dbu.v0.EntityIdentifier beams = 7;
repeated Beam beams = 7;
repeated Curve design_points = 8;
}

Expand Down
12 changes: 11 additions & 1 deletion ansys/api/geometry/v0/parts.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ option csharp_namespace = "Ansys.Api.Geometry.V0.Parts";
service Parts{
rpc Get(ansys.api.dbu.v0.EntityIdentifier) returns(Part);

rpc GetAll(GetAllRequest) returns(GetAllResponse) ;
rpc GetAll(GetAllRequest) returns(GetAllResponse);

rpc GetBeams(GetBeamsRequest) returns(GetBeamsResponse);

rpc ExportLargeSize(ExportRequest) returns(stream ansys.api.dbu.v0.StreamPackage);

Expand All @@ -26,6 +28,14 @@ message GetAllResponse{
repeated Part parts = 1;
}

message GetBeamsRequest {
ansys.api.dbu.v0.EntityIdentifier part = 1;
}

message GetBeamsResponse {
repeated Beam beams = 1;
}

message ExportRequest{
string id = 1;
ansys.api.dbu.v0.PartExportFormat format = 2;
Expand Down