parkerbelt
Active Member
- Joined
- May 23, 2014
- Messages
- 377
I've recently acquired Space Automation Pro and I'm attempting to write some VB scripts in Visual Studio - to automate the manipulation of Space Planning modulars, but I'm having a hard time getting the correct syntax to do what I would like to do.
Does anyone know where I could learn the syntax for this?
Here is a sample of the type of code that is used and what I'm trying to do, but the syntax isn't correct.
I've been studying the Space Automation Commands in the Space Automation, Help section of Visual Studio, but, unless I'm doing exactly what the example shows, I don't know the syntax to use to do what I would like to do. What is the best way for me to learn the syntax - Are there other resources available?
Any suggestions?
Thanks in advance!!
Does anyone know where I could learn the syntax for this?
Here is a sample of the type of code that is used and what I'm trying to do, but the syntax isn't correct.
Code:
Option Strict On
#Region "Imports"
Imports System.Collections.Generic
Imports System.Text
Imports JDA.Intactix.Automation
#End Region
Public Class SpaceMenuClass
Inherits Script
Public Sub New()
MyBase.New()
End Sub
Public Sub New(ByVal nSpaceOrFloor As Integer)
MyBase.New(nSpaceOrFloor)
End Sub
Public Overrides Sub Run(Optional isSilentMode As Boolean = False)
'Script Lines go here
Dim CurrentPlanogram As Integer
CurrentPlanogram = 0
SpacePlanning.SetActivePlanogram(CurrentPlanogram)
SpacePlanning.SelectAllDrawings()
SpacePlanning.CopyToClipboard()
CurrentPlanogram = CurrentPlanogram + 1
SpacePlanning.SetActivePlanogram(CurrentPlanogram)
SpacePlanning.PasteFromClipboard()
SpacePlanning.SelectFixture("TP INFANT PLATFORM SHELF 3X93X50", False)
' Figure out what to put between the brackets to delete all positions on the planogram
SpacePlanning.DeletePositionsWithCondition("*")
End Sub
End Class
I've been studying the Space Automation Commands in the Space Automation, Help section of Visual Studio, but, unless I'm doing exactly what the example shows, I don't know the syntax to use to do what I would like to do. What is the best way for me to learn the syntax - Are there other resources available?
Any suggestions?
Thanks in advance!!
Last edited by a moderator: