ApplicationExportDataInterfacesToHTML
This command exports the current script, class, and object data interfaces to
a series of directories containing HTML
documentation. Class EditModel3D is a good example.
Using This Command For The First Time
Make sure your C++ data interfaces are properly documented and string tables are present.
- Load \PROGRAM FILES\SCENOMICS\SCRIPTS\APPLICATION_SCRIPTS.SSL in a text editor.
- Find the line: Application.LogInterfacesHtml( "c:\\docs", "c:\\business\\source\\ExternalDocs" );
- Set the first path to the desired path for the output documentation.
- Set the second path to the desired path for the example/sample code. This must not be the same directory [ don't use a subdirectory either ] as the first path.
- Save the file.
- Start Scenome.
- If Scenome is already running, select Desktop » Refresh Scripts from the main menu.
- Select Desktop » Log Data Interfaces: HTML from the main menu.
- The software builds the data interface documentation and example/sample directories.
- Explore the folder created in the second parameter.
- This contains a list of folders for each object type.
NOTE: This creates a complete list of data interfaces active in Scenome, including data interfaces that
have already been documented by us. You do not have to create example/sample files for any
data interfaces except your own.
- Insert EXAMPLE.TXT and SAMPLE.TXT into the appropriate directory.
Using This Command Again
To generate a new version of your HTML documentation after you have run the command once.
- Select Desktop » Log Data Interfaces: HTML from the main menu.
- The software builds the data interface documentation.
- Create a table of contents.
- Upload the documentation to a web server.
- Implement the necessary server side includes.
- Implement a stylesheet.
Server Side Includes
You need to implement the server side include files or your server will display
an error message in the output documentation. View a sample document without
server side includes.
Stylesheets
You need to implement a stylesheet or your web browser will display unstyled help.
View a sample document without
a stylesheet. You can still read the documentation without a stylesheet.
Registration
Command registration information is as follows:
| Category Type | Information |
| Implementation | SCRIPT |
| Module | APPLICATION_SCRIPTS.SSL |
| Category | Desktop Commands |
| GUID | {E27667ED-B8E3-49B9-97C5-C3D94C9D8E78} |
| Source Name | ApplicationExportDataInterfacesToHTML |
| Interface Name | Export Data Interfaces: HTML |
| Core | No |
| Sample | Yes |
| Access | Desktop option on main menu. |