Role: To create, instanciate, delete and query groups, logical lines, compartments and parts.
Methods
- Func CreateGroup( iCurrentProduct, iGroupType, iGroupID) As
-
Creates a group in the current Product.
- Parameters:
-
- iCurrentProduct
- The current Product to query. dd>
- iGroupType
- Group Startup type. dd>
- iGroupID
- Group ID. A default ID will be generated if input is NULL. dd>
- Returns:
- Created Group instance. dd>
- Example:
-
Dim objThisIntf As PspAppFactory Dim iobj1 As Product Dim iStrVar2 As String Dim iStrVar3 As String Dim iObj4 As PspGroup ... Set iObj4=objThisIntf.CreateGroup (iobj1,iStrVar2,iStrVar3 )
- Sub DeleteCompartment( iCompartment)
-
Delete a compartment instance.
- Parameters:
-
- iCompartment
- Compartment to be deleted dd>
- Example:
-
Dim objThisIntf As PspAppFactory Dim iobj1 As PspGroup ... objThisIntf.DeleteCompartment iobj1
- Sub DeleteGroup( iGroup)
-
Delete a group.
- Parameters:
-
- iGroup
- Group to be deleted. dd>
- Example:
-
Dim objThisIntf As PspAppFactory Dim iobj1 As PspGroup ... objThisIntf.DeleteGroup iobj1
- Sub DeleteLogicalLine( iLogicalLine)
-
Delete a logical line instance.
- Parameters:
-
- iLogicalLine
- Logical Line to be deleted dd>
- Example:
-
Dim objThisIntf As PspAppFactory Dim iobj1 As PspLogicalLine ... objThisIntf.DeleteLogicalLine iobj1
- Sub DeletePart( iPart)
-
Delete a part.
- Parameters:
-
- iProduct
- Part to be deleted. dd>
- Example:
-
Dim objThisIntf As PspAppFactory Dim iobj1 As Product ... objThisIntf.DeletePart iobj1
- Func GetCompartment( iCurrentProduct, iCompartmentID) As
-
Instanciate a compartment from the catalog into the current Product.
- Parameters:
-
- iCurrentProduct
- The current Product into which a compartment will be instanciated. dd>
- iCompartmentID
- Compartment ID to get from the compartment catalog. dd>
- Returns:
- Compartment instance. dd>
- Example:
-
Dim objThisIntf As PspAppFactory Dim iobj1 As Product Dim iStrVar2 As String Dim iObj3 As PspGroup ... Set iObj3=objThisIntf.GetCompartment (iobj1,iStrVar2 )
- Func GetLogicalLine( iCurrentProduct, iLogicalLineID) As
-
Returns a PspLogicalLine Logical line Instance.
- Parameters:
-
- iCurrentProduct
- The current Product into which a logical line will be instanciated. dd>
- iLogicalLineID
- Logical line ID to get from the logical line catalog. dd>
- Returns:
- Logical line instance. dd>
- Example:
-
Dim objThisIntf As PspAppFactory Dim iobj1 As Product Dim iStrVar2 As String ... objThisIntf.GetLogicalLine (iobj1,iStrVar2 )
- Func ListCompartments( iCurrentProduct) As
-
Retrieves a list of Compartments in the current Product.
- Parameters:
-
- iCurrentProduct
- The current Product to query. dd>
- Returns:
- A list of Compartmemts ( A list of CATIAPspGroup) dd>
- Example:
-
Dim objThisIntf As PspAppFactory Dim iobj1 As Product Dim objArg2 As PspListOfObjects ... Set ObjArg2 = objThisIntf.ListCompartments (iobj1 )
- Func ListGroups( iCurrentProduct) As
-
Retrieve a list of Groups in the current Product.
- Parameters:
-
- iCurrentProduct
- The current Product to query.. dd>
- Returns:
- A list of Groups ( A list of CATIAPspGroup) dd>
- Example:
-
Dim objThisIntf As PspAppFactory Dim iobj1 As Product Dim objArg2 As ListOfObjects ... Set ObjArg2 = objThisIntf.ListGroups (iobj1)
- Func ListLogicalLines( iCurrentProduct) As
-
Returns a list of logical lines in the current Product.
- Parameters:
-
- iCurrentProduct
- The current Product to query.. dd>
- Returns:
- A list of logical Lines (A list of PspLogicalLine) dd>
- Example:
-
Dim objThisIntf As PspAppFactory Dim iobj1 As Product Dim objArg2 As PspListOfObjects ... Set ObjArg2 = objThisIntf.ListLogicalLines (iobj1 )
- Func ListPhysicals( iCurrentProduct, iDomainID) As
-
Returns a list of Physical objects in the node.
- Parameters:
-
- iCurrentProduct
- The current Product to query. dd>
- iDomainID
- Physical objects that have this domain ID. To get list of all in all domains set iDomainID= catPspIDLNone. dd>
- Returns:
- A list of physical objects (A list of PspPhysical objects) dd>
- Example:
-
Dim objThisIntf As PspAppFactory Dim iobj1 As Product Dim iobjArg2 As CatPspIDLDomainID Dim objArg3 As PspListOfObjects ... Set ObjArg3 = objThisIntf.ListPhysicals (iobj1, iobjArg2 )