modify_object
Adjust position, rotation, scale, and other properties of existing 3D objects in Cinema 4D scenes to refine your models and compositions.
Instructions
Modify properties of an existing object.
Args:
object_name: Name of the object to modify
properties: Dictionary of properties to modify (position, rotation, scale, etc.)Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_name | Yes | ||
| properties | Yes |
Implementation Reference
- src/cinema4d_mcp/server.py:486-510 (handler)The handler function 'modify_object' that sends the modify request to Cinema 4D.
async def modify_object( object_name: str, properties: Dict[str, Any], ctx: Context ) -> str: """ Modify properties of an existing object. Args: object_name: Name of the object to modify properties: Dictionary of properties to modify (position, rotation, scale, etc.) """ async with c4d_connection_context() as connection: if not connection.connected: return "❌ Not connected to Cinema 4D" # Send command to Cinema 4D response = send_to_c4d( connection, { "command": "modify_object", "object_name": object_name, "properties": properties, }, ) return format_c4d_response(response, "modify_object") - src/cinema4d_mcp/server.py:485-486 (registration)The MCP tool registration for 'modify_object'.
@mcp.tool() async def modify_object(