SimSetParent Method

Description
Sets an object operation.

Syntax
Sub SimSetParent (Object As String)
Sub SimSetParent (Object As String, ParentObject As String)

Parameters

  • Object
    A string variable indicating the object name to set the parent object for.
  • ParentObject
    A string variable indicating the parent object name.

Remarks
Sets the object specified by “ParentObject” as parent object for the object specified by “Object”. “ParentObject” can be omitted. In this case, the object specified by “Object” will be parenet object. For example, if the object specified by “Object” is a child object of another object, the setting as a child object will be canceled.
If the object specified by “Object” is a part or an object set as an arm installation tool, you cannot specify parent object.
For the objects that can be specified as SetParent, refer to the following manual.
Epson RC+ 8.0 SPEL+ Language Reference - SimSet

For camera objects, SetParent can be used only for objects that are set as fixed cameras.

See Also
SimSet Method

SimSetParent Example
VB Example:

m_spel.SimSetParent ("SBox_1")  

C# Example:

m_spel.SimSetParent ("SBox_1");