|
Bsoft 2.1.4
Bernard's software package
|
A shared object to manage model parameter files in TCL/Tk. More...
Functions | |
| int | model_processing (Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
| Implements the "Bmodel" command in Tcl/Tk to access model parameter files through Bsoft. More... | |
A shared object to manage model parameter files in TCL/Tk.
| int model_processing | ( | Tcl_Interp * | interp, |
| int | objc, | ||
| Tcl_Obj *CONST | objv[] | ||
| ) |
Implements the "Bmodel" command in Tcl/Tk to access model parameter files through Bsoft.
| *interp | a Tcl interpreter within Tcl. |
| objc | number of arguments passed (+1). |
| *objv[] | arguments passed as Tcl objects. |
Bmodel command syntax:
Bmodel <action> <arguments>.
where:
action "create", "exists", "read", "write", "kill", "get", "set", "delete"
"delete_non_selected", "components_to_particles", "extract_segments",
"comptype", "component", "link"
arguments action-specific arguments:
"create" <id>
"read" <filename>
"write" <filename>
"get" <property> [arguments]
"set" <property> <value>
"delete" <property>
"delete_non_selected" <property> <selection>
"components_to_particles"
"extract_segments" <filename> [multilevel]
"comptype" [arguments]
"component" [arguments]
"link" [arguments]
where:
property "id <string>"
"map <string> <value>"
"number <value>"
"radius <value>"
"linkradius <value>"
Return values:
Each action may have a return value:
"create" (none)
"exists" 0=no, 1=yes
"read" model id
"write" (none)
"kill" (none)
"get" return value based on property
"set" modify model property