pycatia.cat_plant_ship_interfaces.psp_id¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.cat_plant_ship_interfaces.psp_id.PSPId(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectPspIDRepresents the interface to generate and set IDs for the Distributive SystemObjects.Role: This is the interface for Plant Ship object IDgeneration.- gen_and_put_id() str ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GenAndPutID() As CATBSTRReturns the Generated ID with the sequence number and is stored on theobject.Returns:ID generatedExample:Dim objThisIntf As PspIDDim iStrVar1 As String…iStrVar1 =objThisIntf.GenAndPutID
- Return type:
str
- gen_and_put_id_no_gen_seq_num() str ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GenAndPutIDNoGenSeqNum() As CATBSTRGenerates ID without the sequence number and is stored on theobject.Returns:ID generatedExample:Dim objThisIntf As PspIDDim iStrVar1 As String…iStrVar1 =objThisIntf.GenAndPutIDNoGenSeqNum
- Return type:
str
- gen_id_no_gen_seq_num() str ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GenIDNoGenSeqNum() As CATBSTRGenerates ID without the sequence number( if not set previously) and is notstored on the object.Parameters:oGeneratedIDID generatedExample:Dim objThisIntf As PspIDDim iStrVar1 As String…iStrVar1 =objThisIntf.GenIDNoGenSeqNum
- Return type:
str
- get_id() str ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetID() As CATBSTRGets ID for the object.Returns:ID of the object.Example:Dim objThisIntf As PspIDDim iStrVar1 As String…iStrVar1 =objThisIntf.GetID
- Return type:
str
- get_local_id() str ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetLocalID() As CATBSTRRetrieves local ID of the object.Returns:Local ID generatedExample:Dim objThisIntf As PspIDDim iStrVar1 As String…iStrVar1 =objThisIntf.GetLocalID
- Return type:
str
- is_id_generated() bool ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func IsIDGenerated() As booleanChecks if the ID on the object is generated( based on the IDSchema).Parameters:oBIsGeneratedTRUE if ID is generated from the ID schemaExample:Dim objThisIntf As PspIDDim bVar1 As boolean…bVar1 =objThisIntf.IsIDGenerated
- Return type:
bool
- set_id(i_id: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetID(CATBSTR iID)Sets ID for the object.Parameters:oIDID to be set.Example:Dim objThisIntf As PspIDDim iStrVar1 As String…objThisIntf.SetID iStrVar1
- Parameters:
i_id (str) –
- Return type:
None