Machining |
Generating an HTML Documentation from a Tool List |
![]() |
This macro CAAMaiToolListDocumentation shows you how to generate an HTML document from a list of Tools used in one or more Manufacturing Programs. It creates an HTML document by retrieving the process document, scanning the list of Manufacturing Activities, and reading Tools and Tool Assemblies used in the Program.
|
||||
![]() |
CAAMaiToolListDocumentation is launched in CATIA. A Process document with a completed Manufacturing Program is needed. CAAMaiToolListDocumentation.CATScript is located in the CAAScdMaiUseCases module. You can also use the VB Macro ToolList.CATScript located in startup\Manufacturing\Documentation.
|
||||
![]() |
CAAMaiToolListDocumentation includes five steps:
Create the HTML file for the documentation
Create the HTML file and open it as a Text Stream in order to set data for documentation. Retrieve the active CATProcess document
Retrieves the active document and set it in the variable MfgDoc1. Retrieve the current Process of the active document
The current Process is retrieved as an Item of the active document. Retrieve the list of activities and read Tool Assemblies and Tools
Retrieve the list of activities to scan in the current Process. Then scan the setup and Program list to retrieve Manufacturing Activities such as Tool Changes. Finally read the Tool Assemblies and Tools information to be written in the HTML output file. Have a look at the generated documentation |
[Top]
This use case has shown how to generate an HTML documentation from a Tool List
[Top]
[1] | Replaying a macro |
[2] | Machining automation objects |
[Top] |
Copyright © 2001, Dassault Systèmes. All rights reserved.