Objects

These objects allow interaction with the various elements in a designed questionnaire.

Scripting Object
This section Highlights the various "objects" available in script control blocks. These objects allow interaction with the various elements in a ...
Thu, 25 Jun, 2020 at 10:36 AM
Q "Reference" Object
The Q object is available in script code to expose the Questionnaire Values in there normal format. It is referenced directly by name and it's most comm...
Thu, 25 Jun, 2020 at 10:37 AM
Wait until file is exports (example code)
            ' Wait until file is ready (computation time is dependent on CPU)              CurFile =  OutputDir & "\" & ShrinkWrapFile...
Wed, 2 Sep, 2020 at 11:56 AM
Load image from Definition using memoryStream
Often it is required to load images into PAS objects and other objects.  Here's a simple way to load the image into memory so you don't have to copy...
Wed, 13 Jan, 2021 at 2:33 PM
Launch Rulesoft Apps from Creo Ribbon
Rulesoft questionnaires (apps) can be launched via a URL.  This allows the creation of custom icons that can start the app. In order to create the custo...
Wed, 20 Jan, 2021 at 9:38 AM
Sample code to generate a unique PartNumber based on attributes
Here you will find attached simple way to create an EXACT match for a PN. Dim SearchAttributes As New StringList SearchAttributes.Add("HEIGHT=100&qu...
Fri, 22 Jan, 2021 at 1:48 PM
Filter Folder for Creo files
' Import new objects  Dim dir_Info As New io.directoryInfo(WorkingDir)   Dim fi_Info1() As io.fileinfo  fi_Info1 = dir_Info.GetFiles("*"...
Sat, 1 Oct, 2022 at 7:32 PM
Multi file extension folder search example
Dim NonModFiles() As String = NonModFilesList.ToArray  Dim extList() As String = {"*.log*", "*.errors*"}   Dim SearchStrArray(NonModFi...
Sat, 1 Oct, 2022 at 8:29 PM