IO_MODIFY Valid Commands

HELP [list | assembly | graph | attribute | regex | glob]

END | EXIT

End command input and output changed assembly definitions (if any).

QUIT

End command input and exit with no changes to database.

ALLOW MODIFICATIONS

By default, io_modify will only allow creation of new assemblies. If this command is specified, then can modify assemblies that already exist in database. This will cause the database to be rewritten. Without this option, it is updated in place.

LIST

For all commands, if an assembly named name does not exist, it will be created.

ASSEMBLY {name}

Creates an empty assembly named name if it does not exist.

ASSEMBLY {name} ADD {name1} {name2} ... {nameL}

Adds the specified entities to the assembly. All entities must be the same type.

ASSEMBLY {name} REMOVE {name1} {name2} ... {nameL}

Removes the specified entities from the assembly.

ASSEMBLY {name} TYPE {type} MATCHES {regex}

Adds the entities of the specified type to the assembly. All entities whose name matches the {regex} will be added.

ASSEMBLY {name} TYPE {type} GLOB {glob}

Adds the entities of the specified type to the assembly. All entities whose name matches the {glob} will be added.

ASSEMBLY {name} TYPE {type} NAMED {list of one or more names}

Adds the entities of the specified type to the assembly. All entities whose names are listed will be added.

ASSEMBLY {name} TYPE {type} RANGE {id} TO {id} BY {step}

Adds the entities of the specified type to the assembly. All entities whose id matches the specified range will be added. No message will be output for ids not matching an entity.

ASSEMBLY {name} TYPE {type} IDS {id}, {id2}, ..., {idL}

Adds the entities of the specified type to the assembly. All entities whose id matches an id in the list will be added. A warning message will be output if there is no entity with the requested id.

DELETE {name}

Remove the assembly with the specified name. Currently only supported for assemblies created during this execution; not for assemblies existing on the input database.

GRAPH OUTPUT [filename]

Create a dot input file with the structure of the assembly graph. File is named filename or defaults to assembly.dot if filename not given.

GRAPH CHECK

Check validity of assembly graph--are there any cycles.

Add an attribute to the specified entity (ent_name). The attribute will be named att_name with value(s) values... Can also modify the values of an existing attribute.'

ATTRIBUTE LIST {ent_name...}

List attributes for the selected entities

ATTRIBUTE {ent_type} LIST

List attributes for all entities in the specified entity type

ATTRIBUTE {ent_type} MATCH {regex}

List attributes for all entities in the specified entity type whose name matches the regex.

ATTRIBUTE {ent_type} GLOB {glob}

List attributes for all entities in the specified entity type whose name matches the glob.

GEOMETRY

TIME

Regular Expression help

(used in ASSEMBLY MATCHES and LIST MATCHES and ATTRIBUTE LIST MATCHES options)

Glob help

(used in ASSEMBLY GLOB and LIST GLOB and ATTRIBUTE LIST GLOB options)

Glob Examples