Comments (1)
Hi @PascalGitz,
thank you for the question. You can set every parameter by setting params (type dictionary, optional) parameter. Because it is set as the end of the routine, it can override any previous parameters.
How to use it:
First printout object of your interest in the command-line. To do it the code would look like this:
from suds.client import Client
client = Client('http://localhost:8081/wsdl')
new = client.service.get_active_model()+'wsdl'
model = Client(new)
print(model.service.get_nodal_support(1))
You will get full description of Nodal Support no.1. From this you can figure out the structure of the object and create whole new object with parameters you intend. For example, if you want to descibe support condition in X direction via diagram, focus on these parameters:
diagram_along_x_end = "DIAGRAM_ENDING_TYPE_CONTINUOUS"
diagram_along_x_is_sorted = True
diagram_along_x_start = "DIAGRAM_ENDING_TYPE_CONTINUOUS"
diagram_along_x_symmetric = True
diagram_along_x_table =
(array_of_nodal_support_diagram_along_x_table){
nodal_support_diagram_along_x_table[] =
(nodal_support_diagram_along_x_table_row){
no = 1
description = None
row =
(nodal_support_diagram_along_x_table){
displacement = -0.0001
force = -200000000.0
spring = 3900000000000.0
note = None
}
},
(nodal_support_diagram_along_x_table_row){
no = 2
description = None
row =
(nodal_support_diagram_along_x_table){
displacement = -5e-05
force = -5000000.0
spring = 100000000000.0
note = None
}
},
}
You can then write:
NodalSupport(..., params = {'diagram_along_x_end':"DIAGRAM_ENDING_TYPE_CONTINUOUS"})
To define something like diagram_along_x_table you can set it like this:
diagram_along_x= model.clientModel.factory.create('ns0:response_spectrum.user_defined_response_spectrum')
for i,j in enumerate(nodal_support_diagrams):
ns = model.clientModel.factory.create('ns0:nodal_support_diagram_along_x_table_row')
ns.no = i+1
ns.row.displacement= user_defined_spectrum[i][0]
rsp.row.force= user_defined_spectrum[i][1]
ns.row.force= user_defined_spectrum[i][2]
diagram_along_x.nodal_support_diagram_along_x_table.append(ns)
NodalSupport(..., params = {'diagram_along_x_table' : diagram_along_x})
This is the process we use to develop this library.
from rfem_python_client.
Related Issues (20)
- 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 7
- QUESTION: Clarification on Excessive Results for Member Internal Forces Retrieval HOT 8
- BUG: Function CentreOfGravity HOT 1
- BUG: Failure to connect to server HOT 1
- BUG: LineSetLoad.Force() for "LOAD_DISTRIBUTION_VARYING" error handling issue HOT 2
- REQUEST: Remote access to Webservice
- BUG: Unity for MembersContactForces
- BUG: Excessive Node results HOT 1
- BUG: Unable to Connect to Existing Model Twice. 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.