BadBit CAD · Commands
CIRCLE
Circle
- English name
CIRCLE- Aliases
C- Through automation
- Verified sequence The sequence of answers was checked in the program: through automation, it runs with the answers of the example.
Equivalent operation
To do the same with parameters instead of answers, use the cad.entity.create operation.
Prompts
Specify center point for circle or [3P/2P/Ttr (tan tan radius)]:Specify radius of circle or [Diameter]:
Options
| Letter | Option |
|---|---|
| 3P | 3P |
| 2P | 2P |
| T | Ttr (tan tan radius) |
| D | Diameter |
The letter is the AutoCAD one and works in any language.
Example through automation
The answers of the example, in order, through the suite.command.run operation (an empty answer is Enter):
50,2510
MCP
JSON
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"command": "CIRCLE",
"inputs": [
"50,25",
"10"
]
},
"name": "badbit_run_command"
}
}Python
Python
import badbit
result = badbit.suite.command.run(command="CIRCLE", inputs=["50,25", "10"])LISP
LISP
(badbit-call "suite.command.run" '(("command" . "CIRCLE") ("inputs" . ("50,25" "10"))))JSON-RPC
JSON
{
"id": 1,
"jsonrpc": "2.0",
"method": "badbit/call",
"params": {
"arguments": {
"command": "CIRCLE",
"inputs": [
"50,25",
"10"
]
},
"operation": "suite.command.run"
}
}