Adds a structure to the simulation environment with structure geometry loaded from specified STEP or CAD file. This command is identical to cadimport.
| Syntax | Description |
|---|---|
| stepimport("filename",scale_factor); |
Add new structures from a specified CAD file. The list of supported file formats can be found in the Knowledge Base article on CAD import.
SCALE_FACTOR (optional):
This function does not return any data. |
|
Note: How to handle the "Model size exceeds valid box" error The geometry in Multiphysics cannot exceed a maximum size, a fixed number of length units. This error can be avoided by changing the solver to use a larger length unit, or by supplying a smaller 'scale_factor' argument. |
Example
The following script commands is used to create a 3D geometry based on the STEP file provided in the Knowledge Base article on CAD import.
filename = "stepimport.step";
stepimport(filename);The following script commands is used to create a 3D geometry based on the SolidWork file provided in the Knowledge Base article on CAD import, using a scaling factor of \(10^{-6}\).
filename = "Caliper.SLDPRT";
stepimport(filename, -6);See Also