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. You must 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: The XML translator must be imported into the current database
before you can use it. Translators are provided 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.
-
Select
PLM VSTA from the
Library type list.
-
Click
Add existing library....
The
Macro library browser dialog box appears.
-
Enter
DELMIA* in the search box.
-
Click
Search.
A list of search results appears.
-
Select
DELMIA XML Translator from the list.
-
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 context menu.
The
Add Existing Item dialog box appears.
-
Navigate to the location where the V6 XSLT translator is
located 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.
-
Select
Embedded Resource from the list.
-
Expand the
V5 folder in the
Project Explorer frame of the macro editor.
-
Right-click the
V5 folder and select
from the context menu
-
Navigate to the location where the V5 translator is located 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.
-
Select
Embedded Resource from the list.
-
In the source code frame, make a trivial edit to
Main.vb (e.g., 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 just
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 box.
-
Click
Search.
A list of search results appears.
-
Select
DELMIA XML Translator from the list.
-
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 xalan.jar is included in the
Jar Files list. If it is not, use + to
locate the file on your system and add it to the list.
You can now use
Create Robot Program with the DELMIA XML
translator.