motohawk_saej1939_project

The motohawk_saej1939_project M-script creates a new MotoHawk™ project that is constructed from a template. The created model provides and example of the use of all the SAE J1939 blocks available in MotoHawk.

motohawk_saej1939_project(project, [model_name], [model_description])

The [ ] bracing denotes an optional parameter. The brace characters are not used in the command.

project

The script will create new directory called project that will be used to house the files related to the sample project. This is a required single quote enclosed string parameter. The project may be an absolute path or a path relative to the current working directory. It may contains spaces and any other characters that are legal for a path.

An error will result if the directory specified by the project already exists.

model_name

An optional single quote enclosed string parameter, the created model will be named model_name when supplied. The name of the leaf directory specified by the project path will be used if a model_name is not supplied. The model_name must starts with a letter and contain only letters, numbers and underscores.

model_description

An optional single quote enclosed string parameter, the model will set the model's properties to the value of model_description and also apply this description in the title on the top sheet. The name of the leaf directory specified by the project path will be used if a model_description is not supplied.