1 / 16

LATTICE TECHNOLOGY, INC.

XVL Web Master Advanced Tutorial For Version 10.0 and later. LATTICE TECHNOLOGY, INC. Agenda. Advanced Features Importing CSV Data Command Line Execution Customizing Template Editing Template Files Using Template Configuration File Changing the HTML Frame Layout Changing the HTML Style

dacian
Download Presentation

LATTICE TECHNOLOGY, INC.

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. XVL Web Master Advanced TutorialFor Version 10.0 and later LATTICE TECHNOLOGY, INC.

  2. Agenda • Advanced Features • Importing CSV Data • Command Line Execution • Customizing Template • Editing Template Files • Using Template Configuration File • Changing the HTML Frame Layout • Changing the HTML Style • Publishing Properties to the Table • Changing Illustration Line Styles Lattice Technology, Inc.

  3. Advanced Features

  4. Importing CSV Data 1/2 • XVL Web Master can import data from CSV files and publish the data to HTML. • Creating a CSV File • If you do not have a CSV file, you can create one using the following procedure: • In the General tab, select the CSV file that you want to create. • Execute XVL Web Master. A CSV file will be generated in the output folder. • Open the CSV file and input the data for each component. Enter the data in the second column and after that. Save the CSV file. 1 2 3 4 Lattice Technology, Inc.

  5. Importing CSV Data 2/2 • Using a CSV File • Place the CSV file in the same folder as the XVL file. • Execute XVL Web Master. • XVL Web Master will automatically read any CSV files that are in the same folder as the XVL file and publish the CSV data to HTML. 1 3 XVL Web Master publishes CSV part data to the parts list. Lattice Technology, Inc.

  6. Command Line Execution • XVL Web Master can be executed from the command line. Basic Format: xvlwm.exe [/autoexec] [/english] [/init init_file] [files_dirs ...] Lattice Technology, Inc.

  7. Customizing Templates

  8. Editing Template Files • You can change the page layout, styles and table data fields by editing the template. This does not require the Template Customization option. • In the XVL Web Master installation folder, find the template folder that you want to edit. • Copy and create the new template folder and add a new name. • Edit the template file to change the HTML template. • For example, you can edit the following template files. • TEMPLATE_MAIN_HTML: • Template file for the main page. • TEMPLATE_TREE_HTML: • Template file for the assembly tree. • TEMPLATE_TABLE_HTML: • Template file for the parts table. • TEMPLATE_XVL_HTML: • Template file for the 3D view. Copy Lattice Technology, Inc.

  9. Using the Template Configuration File • Use the template configuration file to specify how templates are listed in XVL Web Master. • A sample template configuration file is in the following folder: • Installation_Directory\Samples\settings_template.csv • Copy the template configuration file to the installation directory to enable it. • Edit the template configuration file in MS Excel. • Enter the template folder path in the first column. The path can be absolute or relative. • Enter the title of the template that you want to show in the template list in the second column. Enter “VOID” if you do not want to show the template in the list. • Type “COPYALL” in the third column if you want to copy all files in the template folder to the output folder. This is required to copy resources like image files from the template folder to the output folder. 3 4 5 settings_template.csv Lattice Technology, Inc.

  10. Changing the HTML Frame Layout • Open TEMPLATE_MAIN_HTML file. • Find the frameset tags and change the frame layout. Customized Template Original Template Lattice Technology, Inc.

  11. Changing the HTML Style • Open the template file. • Find the style tags and edit the CSS. Original Template Edit the style. Customized Template Lattice Technology, Inc.

  12. Customizing Tables 1/2 • You specify which properties to publish in tables. • Open the table template file, such as TEMPLATE_TABLE_HTML. • Edit the table headers and specify the property names. • Edit the table data to reference the desired properties. • <td>%CL_GRP_PROP[Section_name][Property_name]*%</td> Section name Property name 2 Header names 3 Lattice Technology, Inc.

  13. Customizing Tables 2/2 • Save the template and publish the HTML using the customized template. • The published HTMP includes the specified data. 5 * See “Template Reference Manual” (trefer.pdf) for more detail about template parameters. Lattice Technology, Inc.

  14. Changing Illustration Line Styles 1/2 Illustration OP • Illustration line styles are specified in the template file. • Open the TEMPLATE_SVG file in the text editor. • In the <style> section, change the illustration line parameters. TEMPLATE_SVG Lattice Technology, Inc.

  15. Changing Illustration Line Styles 2/2 Illustration OP • For example, to change the trace line style to dash-dot, set the value as follows: • .tline {fill:none; stroke:#000000; stroke-width:0.05mm; stroke-dasharray:1mm,0.5mm} • .tline {fill:none; stroke:#000000; stroke-width:0.05mm; stroke-dasharray:2mm,0.5mm,0.5mm,0.5mm} Trace line Lattice Technology, Inc.

  16. Questions? E. support@lattice3d.com T. +1.415.274.1670 F. +1.415.274.1671 W. www.lattice3d.com Lattice Technology, Inc.

More Related