All Frameworks Object Hierarchy This Framework Indexes
This object can be retrieved by querying on a Robot. For example:
Dim SelectionObject as Selection Dim RobotObject As Product Dim OLPTranslatorObject as OLPTranslator Set SelectionObject = DELMIA.ActiveDocument.Selection Set RobotObject = SelectionObject.Item2(1).Value Set OLPTranslatorObject = RobotObject.GetTechnologicalObject("OLPTranslator")
o Sub ConvertNRLToXML( | iNRLFileName, | |
iParserName, | ||
oXMLFileName) |
o Sub ConvertXMLToNRL( | iXMLFileName, | |
iXSLTFileName, | ||
oNRLTargetFolder) |
o Sub DownloadAsXML( | iRobotTask, | |
oXMLFileName, | ||
iIsPartCoordinates, | ||
iIsSimulated, | ||
iIsSubRoutines) |
o Sub DownloadTasks( | lListOfTasks, | |
sPathToXSLTTranslator, | ||
sContext, | ||
bIsPartCoordinates, | ||
bIsSubroutine, | ||
sLogFileName) |
Here are the section marker rules that need to be strictly followed:
It is important that the entire robot program output, designated to be
saved in a particular file, is enclosed between
DATA FILE START Every downloader should use ERROR INFO START As with error messages, release and version information will be
copied from the output's VERSION INFO START All of the marker elements need to start at the beginning of a new
line and to end with a new line character. The examples are below:
DATA FILE START myProgram.1
...
DATA FILE END
VERSION INFO START
Delmia Corp. NachiAX Uploader Version 5 Release 15.
Copyright Delmia Corp. 1986-2003, All Rights Reserved.
VERSION INFO END
ERROR INFO START
The error occurred during translation of Motion.1 activity
ERROR INFO END
o Func GetRobotProgramDirectory( | ) As |
o Func GetXMLFileDirectory( | ) As |
o Sub UploadFromXML( | iRobotTask, | |
iXMLFileName, | ||
iIsPartCoordinates, | ||
iPart) |
o Sub UploadRobotProgram( | spISelectedRobot, | |
sPathToRobotProgramFile, | ||
sPathToUploaderFile, | ||
bIsUploadInPartCoords) |
Copyright © 2003, Dassault Systèmes. All rights reserved.