Learn how collaborative parametric design models allow you to work together for better solutions.
There are two ways in which you can use the functionality:
This is a snippet of the functionality’s code from the VIKTOR GitHub repository:
1@PDFView("PDF View", duration_guess=20)
2def execute_scia_analysis(self, params, **kwargs):
3 """ Perform an analysis using SCIA an a third-party worker and generate engineering."""
4 scia_model = scia_model_helper.create_scia_model(params)
5 input_file, xml_def_file = scia_model.generate_xml_input()
6 scia_model_esa = self.get_scia_input_esa()
7
8 scia_analysis = SciaAnalysis(input_file=input_file, xml_def_file=xml_def_fle, scia_model=scia_model_esa, result_type=ResultType.ENGINEERING_REPORT, output_document='Report_1')
9
10 scia_analysis.execute(timeout=600)
11 engineering_report = scia_analysis.get_engineering_report(as_file=True)
12
13 return PDFResult(file=engineering_report)
In this method the SCIA model is created and an API call is made to the running worker. This worker makes a connection to SCIA and generates a engineering report as a PDF file.
In the video, you can see how a bridge is parametrically designed with SCIA in a VIKTOR application.
As you can see in the video, the process of parametrically designing a bridge and creating a SCIA model consists of three steps. Thanks to the step-functionality, users can better navigate the application, which improves the overall experience of using the app.
Defining the layout of the bridge
Defining the bridge foundations
Analyzing the engineering report
Use our free version to start using this app!