export_file
Export 3ds Max scenes or selected objects to files in formats like FBX, OBJ, STL, and 3DS. Choose to export entire scenes or only selected objects.
Instructions
从 3ds Max 导出场景或选中的对象到文件。
支持的格式包括 FBX、OBJ、STL、3DS 等。 可以导出场景中的全部对象或仅导出选中的对象。
Args: file_path: 导出文件的完整路径(包含扩展名)。 支持的格式:.fbx, .obj, .stl, .3ds, .dae 等。 selected_only: 是否仅导出选中的对象。 "true" 表示只导出选中对象。 "false"(默认)表示导出场景中所有对象。
Returns: dict: 操作结果。 - success (bool): 是否成功。 - file_path (str): 导出的文件路径。 - selected_only (bool): 是否仅导出选中对象。 - message (str): 操作描述信息。
示例调用 - 导出全部对象为 FBX: export_file(file_path="C:/Export/scene.fbx")
示例调用 - 仅导出选中对象为 OBJ: export_file(file_path="C:/Export/selected.obj", selected_only="true")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| selected_only | No | false |