File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed
Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,12 @@ service Bodies
5454
5555 rpc GetName (ansys .api .dbu .v0 .EntityIdentifier ) returns (GetNameResponse );
5656
57+ rpc SetName (SetNameRequest ) returns (SetNameResponse );
58+
59+ rpc GetFillStyle (ansys .api .dbu .v0 .EntityIdentifier ) returns (GetFillStyleResponse );
60+
61+ rpc SetFillStyle (SetFillStyleRequest ) returns (SetFillStyleResponse );
62+
5763 rpc Copy (CopyRequest ) returns (Body );
5864
5965 rpc GetUpdateState (ansys .api .dbu .v0 .EntityIdentifier ) returns (UpdateState );
@@ -241,6 +247,28 @@ message GetNameResponse {
241247 string name = 1 ;
242248}
243249
250+ message SetNameRequest {
251+ string body_id = 1 ;
252+ string name = 2 ;
253+ }
254+
255+ message SetNameResponse {
256+ bool result = 1 ;
257+ }
258+
259+ message SetFillStyleRequest {
260+ string body_id = 1 ;
261+ BodyFillStyle fill_style = 2 ;
262+ }
263+
264+ message GetFillStyleResponse {
265+ string name = 1 ;
266+ }
267+
268+ message SetFillStyleResponse {
269+ bool result = 1 ;
270+ }
271+
244272message CopyRequest {
245273 string id = 1 ;
246274 string parent = 2 ;
Original file line number Diff line number Diff line change @@ -40,6 +40,14 @@ enum CollisionType {
4040 COLLISIONTYPE_CONTAINEDTOUCH = 4 ;
4141}
4242
43+ //
44+ // The fill style type for a body.
45+ enum BodyFillStyle {
46+ BODYFILLSTYLE_DEFAULT = 0 ;
47+ BODYFILLSTYLE_OPAQUE = 1 ;
48+ BODYFILLSTYLE_TRANSPARENT = 2 ;
49+ }
50+
4351//
4452// A design curve.
4553message Curve {
You can’t perform that action at this time.
0 commit comments