Solid Edge Framework Type Library > SolidEdgeInsightXT Object : GetProjectsForGivenItemIDs Method |
This is two dimensional array.
When we are going to get the number of projects out, they will be separated by semi comma (;). E.g. say three projects namely 2000, 2020, 2012 in which item id 001234 is there. Then the output which we will get is 2000;2020;2012. |
Visual Basic |
---|
Public Sub GetProjectsForGivenItemIDs( _ ByRef pvarListOfItemIDsAndProjects As Variant _ ) |
This is two dimensional array.
When we are going to get the number of projects out, they will be separated by semi comma (;). E.g. say three projects namely 2000, 2020, 2012 in which item id 001234 is there. Then the output which we will get is 2000;2020;2012. |
Private Sub Command1_Click() On Error Resume Next Dim objApplication As SolidEdgeFramework.Application Dim objSolidEdgeInsightXT As SolidEdgeFramework.SolidEdgeInsightXT Set objApplication = GetObject(, "SolidEdge.Application") Set objSolidEdgeInsightXT = objApplication.SolidEdgeInsightXT Dim ItemIDAndProjectInfo(1, 1) As Variant ItemIDAndProjectInfo(0, 0) = "002262" ItemIDAndProjectInfo(0, 1) = "" ItemIDAndProjectInfo(1, 0) = "002359" ItemIDAndProjectInfo(1, 1) = "" Call objSolidEdgeInsightXT.GetProjectsForGivenItemIDs(ItemIDAndProjectInfo) Set objSolidEdgeInsightXT = Nothing Set objApplication = Nothing End Sub