export_model_json_to_solidworks_step
Kind: Function
Domain: Translators
Canonical import: from cadflow.translators.solidworks_translator import export_model_json_to_solidworks_step
Signature
def export_model_json_to_solidworks_step(json_str: 'str', output_path: 'str', *, document_name: 'str' = 'CadFlowModel', visible: 'bool' = False, python_exe: 'Optional[str]' = None, source_kernel_fallback: 'bool' = False) -> 'str'
Description
Execute SolidWorks COM automation and export a STEP file.
Other public imports
from cadflow.translators.solidworks_translator import translate_model_json_to_solidworks_step
Parameters
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
json_str | 'str' | yes | - | Not explicitly described in the source docstring. |
output_path | 'str' | yes | - | Not explicitly described in the source docstring. |
document_name | 'str' | no | 'CadFlowModel' | Not explicitly described in the source docstring. |
visible | 'bool' | no | False | Not explicitly described in the source docstring. |
python_exe | 'Optional[str]' | no | None | Not explicitly described in the source docstring. |
source_kernel_fallback | 'bool' | no | False | Not explicitly described in the source docstring. |
Returns
Type: 'str'
The source docstring does not declare additional return semantics.
Errors
The source docstring does not declare a narrower exception contract. Invalid types, values, ownership, paths, or backend state may still raise the corresponding public error.
Behavior and constraints
- This operation writes an external artifact. Validate the returned path or output file before delivery.
- Serialized data is intended to remain JSON-safe and should be schema-validated when crossing trust boundaries.
Import check
from cadflow.translators.solidworks_translator import export_model_json_to_solidworks_step