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
4 changes: 4 additions & 0 deletions src/ansys/api/acp/v0/model.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ syntax = "proto3";
package ansys.api.acp.v0.model;

import "ansys/api/acp/v0/base.proto";
import "ansys/api/acp/v0/unit_system.proto";

// Default CRUD messages

Expand All @@ -16,6 +17,8 @@ message Properties {
double angle_tolerance = 4;
double relative_thickness_tolerance = 5;
double minimum_analysis_ply_thickness = 6;
// read only property
unit_system.UnitSystemType unit_system = 7;
}

message ObjectInfo {
Expand Down Expand Up @@ -53,6 +56,7 @@ message LoadFromFEFileRequest {
}
repeated IgnorableEntity ignored_entities = 3;
bool convert_section_data = 4;
unit_system.UnitSystemType unit_system = 5;
}

message UpdateRequest {
Expand Down
16 changes: 16 additions & 0 deletions src/ansys/api/acp/v0/unit_system.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
syntax = "proto3";
package ansys.api.acp.v0.unit_system;

import "ansys/api/acp/v0/base.proto";

// only the unit system type is exposed at the moment.
enum UnitSystemType {
UNDEFINED = 0;
SI = 1;
MKS = 2;
uMKS = 3;
CGS = 4;
MPA = 5;
BFT = 6;
BIN = 7;
}