You can use V5 downloaders with the DELMIA XML translator provided in V6.
The V5 XSLT translators use the V5 XML format. The V6 XML format is slightly
different, so there is an XSLT that converts from the V6 to the V5 format. In the
XML translator macro project, there is a file
(Translators\V5\V6toV6XML.xslt) that does this conversion.
Create a primary XSLT called the "V6 XSLT" that does the conversion from V6 to V5
XML, and then does the conversion from V5 XML to the robot program. See
Related Links for an example V6 XSLT.
Before you begin: Import the XML translator into the current database before you can use it.
Translators are in the startup\OLP\Translators directory, and
the XML translator is named DELMIA XML Translator.3dxml.
-
Select .
The Macros dialog box appears.
-
Click Macro libraries.
-
From the Library type list, select PLM
VSTA.
-
Click Add existing library....
The Macro library browser dialog box appears.
-
Enter DELMIA* in the search field.
-
Click Search.
A list of search results appears.
-
From the list, select DELMIA XML Translator.
-
Click OK.
The selected DELMIA XML Translator appears in the Current
libraries list in the Macro libraries
dialog box.
-
Click Close in the Macro
libraries dialog box.
The Macros dialog box appears.
-
Click Edit... in the Macros
dialog box.
The macro editor appears with Main.vb open for
editing.
-
Expand the Translators folder in the
Project Explorer frame of the macro editor.
-
Right-click the Translators folder and select from the shortcut menu.
The Add Existing Item dialog box appears.
-
Navigate to the location where the V6 XSLT translator is and select it.
Note:
It must be named V6<translator>.xslx, where
<translator>.xslt is the original V5 XSLT
name.
-
Click Add to add it to the project.
The selected file appears under the
Translators folder in the Project
Explorer frame.
-
Select the added file in the Project Explorer frame.
The file is highlighted.
-
Click Build Action in the
Properties frame of the macro editor.
-
From the list, select Embedded Resource.
-
Expand the V5 folder in the Project
Explorer frame of the macro editor.
-
Right-click the V5 folder and select from the shortcut menu.
-
Navigate to the location where the V5 translator is and select it.
-
Click Add to add it to the project.
The selected file appears under the V5 folder
in the Project Explorer frame.
-
Select the added file in the Project Explorer frame.
The file is highlighted.
-
Click Build Action in the
Properties frame of the macro editor.
-
From the list, select Embedded Resource.
-
In the source code frame, make a trivial edit to
Main.vb (for example, add a comment) and save it to
force the new embedded resources to be saved in the translator database.
-
In V6, select .
-
Select the translator for the robot manufacturer that you imported.
Note:
When setting the translator in , it is important to select the correct controller. The controller
used should match the motion controller name for the robot being
downloaded.
-
Select Edit controller/translator information
.
The Edit Translator Info dialog box appears.
-
Click
.
The Search for Translator dialog box appears.
-
Enter DELMIA* in the search field.
-
Click Search.
A list of search results appears.
-
From the list, select DELMIA XML Translator.
-
Click OK.
The selected DELMIA XML Translator appears as the
Translator in the Edit Translator
Info dialog box.
-
Click OK
The Edit Translator Info closes.
-
Select .
-
Ensure that you include xalan.jar in the Jar Files
list. If it is not, use + to locate the file on your system and add it to
the list.
Result: You can now use Create Robot Program with the DELMIA XML
translator.