Dear all,
I would like to create a Bar Group in Robot via Excel but I can't find a worked example to do it.
I tried to create it from scratch, through the ROS manual but so far only managed this.
Can anyone help me?
Thanks in advance.
Code:
Private Sub Hi_CreateBarCollection()
'Main object representing Robot application ===
Dim m_robot As New RobotApplication
'Create Column bars=================================
Dim col As RobotObjOperationCollection
Dim colnam As String
Dim barcol As String
colnam = "Column"
barcol = "1to12"
Dim m_col As RobotGroupObjectServer
Set m_col = m_robot.Project.Structure.Groups
m_col.Create
End Sub