Comments (6)
Hi @Dervis-vL,
thank you for the request. The Result Combination class should be updated for sure. But you can use it even in its current state. Envoking print(model1.factory.create('ns0:result_combination'))
will give you an idea about structure of the result_combination object. If there is every parameter needed than create such parameter via model1.factory.create('ns0:result_combination')
. Set parameters by set_result_combination
, or add all parameters via params
attribute as dictionary:
ResultCombination(params={'name': ..., 'srss_combination': ..., 'srss_extreme_value_sign': ..., 'srss_use_equivalent_linear_combination': ...})
.
from rfem_python_client.
Hi @OndraMichal ,
thank you for the quick reply. I managed to get information about the result_combination object by envoking a slightly different call than you suggested:
print(Model.clientModel.factory.create('ns0:result_combination'))
This gave me the following response:
(result_combination){
no = None
design_situation = None
user_defined_name_enabled = None
name = None
to_solve = None
comment = None
combination_type =
(result_combination_combination_type){
value = None
}
srss_combination = None
srss_extreme_value_sign =
(result_combination_srss_extreme_value_sign){
value = None
}
srss_use_equivalent_linear_combination = None
srss_according_load_case_or_combination = None
items =
(array_of_result_combination_items){
result_combination_items[] =
}
generate_subcombinations = None
load_duration = None
is_generated = None
consider_construction_stage = None
consider_construction_stage_active = None
id_for_export_import = None
metadata_for_export_import = None
}
The part where the components of the result combinations can be defined is in the following code:
items =
(array_of_result_combination_items){
result_combination_items[] =
}
For this part, I cannot find more documentation. For me it is still not clear how to define the following:
- define load cases
- define the related factor,
- define the related load type and
- define the related operator
As an example, lets say we want to include:
- load case = LC1
- factor = 1.25
- load type = Transient
- operator = OR
- load case = LC2
- factor = 1.25
- load type = Transient
- operator = OR
How would you include those 2 load cases within the items param?
from rfem_python_client.
Hi @Dervis-vL,
for that the easiest way is to create such object in RFEM and use WS to print it out via print(Model.clientModel.service.get_result_combination(1))
. it will give you something like the following giving you idea about values and types of the parameters.
(result_combination){
no = 1
design_situation = 1
user_defined_name_enabled = True
name = "Result combination 1"
to_solve = True
comment = None
combination_type = "COMBINATION_TYPE_GENERAL"
srss_combination = False
items =
(array_of_result_combination_items){
result_combination_items[] =
(result_combination_items_row){
no = 1
description = None
row =
(result_combination_items){
case_object_item = 1
operator_type = "OPERATOR_AND"
left_parenthesis = False
right_parenthesis = False
case_object_factor = 1.0
case_object_load_type = "LOAD_TYPE_PERMANENT"
}
},
(result_combination_items_row){
no = 2
description = None
row =
(result_combination_items){
case_object_item = 2
operator_type = "OPERATOR_AND"
left_parenthesis = False
right_parenthesis = False
case_object_factor = 1.0
case_object_load_type = "LOAD_TYPE_PERMANENT"
}
},
(result_combination_items_row){
no = 3
description = None
row =
(result_combination_items){
case_object_item = 3
operator_type = "OPERATOR_OR"
left_parenthesis = False
right_parenthesis = False
case_object_factor = 1.0
case_object_load_type = "LOAD_TYPE_PERMANENT"
}
},
(result_combination_items_row){
no = 4
description = None
row =
(result_combination_items){
case_object_item = 2
operator_type = "OPERATOR_OR"
left_parenthesis = False
right_parenthesis = False
case_object_factor = 1.0
case_object_load_type = "LOAD_TYPE_PERMANENT"
}
},
(result_combination_items_row){
no = 5
description = None
row =
(result_combination_items){
case_object_item = 3
operator_type = "OPERATOR_AND"
left_parenthesis = False
right_parenthesis = False
case_object_factor = 1.0
case_object_load_type = "LOAD_TYPE_PERMANENT"
}
},
(result_combination_items_row){
no = 6
description = None
row =
(result_combination_items){
case_object_item = 4
operator_type = "OPERATOR_NONE"
left_parenthesis = False
right_parenthesis = False
case_object_factor = 1.0
case_object_load_type = "LOAD_TYPE_TRANSIENT"
}
},
}
...
}
from rfem_python_client.
Update of Result Combination is in progress. I'm pushing it as far as I can.
from rfem_python_client.
Result Combination class is prepared for PR. See branch dogukaratas-resultCombinationUpdate.
from rfem_python_client.
Hi @Dervis-vL,
PR 254 has created acc. to your comments.
from rfem_python_client.
Related Issues (20)
- BUG: How to assign the modal anaylisis with Python HOT 4
- BUG: Object No. not in ResultTable HOT 4
- REQUEST: Results Table Manager HOT 3
- REQUEST: Move the "connect to server" logic in a function HOT 3
- BUG: Add psutil to dependencies in setup.py HOT 2
- BUG: Can't Update Global Parameter when Results are available HOT 3
- BUG: ResultTables.NodesSupportForces fails in ConvertResultsToListOfDct HOT 5
- BUG: Structure Modification not yet assignable to loadcombination or resultcombination HOT 1
- BUG: TableExportConfigManager Updated but not used when exporting HOT 6
- BUG: specialObjects → modify_stiffnesses_sections HOT 2
- REQUEST: Set Standards for Addons (e.g. dynamic analysis) HOT 4
- REQUEST: Possibility to edit timber design fire configuration HOT 2
- BUG: Missing definition of modelLst in init.Model.py HOT 1
- BUG: Angle of Layers and Stiffness Reduction are ignored in Multilayer Thicknesses HOT 1
- BUG: SUDS.TypeNotFound: Type not found: 'line' HOT 2
- BUG: Accessing SpectralAnalysisMembersInternalForces for different Envelopes not possible HOT 4
- QUESTION: Clarification on Excessive Results for Member Internal Forces Retrieval HOT 8
- BUG: Function CentreOfGravity
- BUG: Failure to connect to server
- BUG: LineSetLoad.Force() for "LOAD_DISTRIBUTION_VARYING" error handling issue HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rfem_python_client.