pycatia.cat_sch_platform_interfaces.sch_grr¶
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_sch_platform_interfaces.sch_grr.SchGRR(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSchGRRManage the graphical representation of a schematic object.- get_grr_name(o_grr_name: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetGRRName(CATBSTR oGRRName)Get current name of the GRR.Parameters:oGRRNameThe name of this GRR. A component can be associated with more thanone GRRs. Each GRR is identified by a specific name. Valid names are specifiedby the application when building the component. Every component should have aGRR named “Primary”. The GRR by this name is used in the catalog.Example:Dim objThisIntf As SchGRRDim strVar1 As String…objThisIntf.GetGRRNamestrVar1
- Parameters:
o_grr_name (str) –
- Return type:
None
- get_sch_cntr_owners(o_cntr_owner: SchAppConnector, o_grr_owner: SchGRR) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetSchCntrOwners(SchAppConnector oCntrOwner,SchGRR oGRROwner)Get the schematic objects that own this connector graphicrepresentation.Parameters:oCntrOwner.A schematic connector that owns this connector graphicrepresentation.oGRROwnerA component or route graphic representation that owns thisconnector graphic representation.Example:Dim objThisIntf As SchGRRDim objArg1 As SchAppConnectorDim objArg2 As SchGRR…objThisIntf.GetSchCntrOwnersobjArg1,objArg2
- Parameters:
o_cntr_owner (SchAppConnector) –
o_grr_owner (SchGRR) –
- Return type:
None
- get_sch_obj_owner() SchAppConnectable ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetSchObjOwner() As SchAppConnectableGet the schematic object that owns this graphicrepresentation.Parameters:oGRROwnerA schematic object that owns this graphic representation.Example:Dim objThisIntf As SchGRRDim objArg1 As SchAppConnectable…Set objArg1 = objThisIntf.GetSchObjOwner
- Return type:
- list_connected_gr_rs(i_grr_owner: SchAppConnectable, i_l_cntble_class_filter: SchListOfBSTRs, o_l_cntble_gr_rs: SchListOfObjects, o_l_cntbles: SchListOfObjects, o_l_cntrs_on_this_obj: SchListOfObjects, o_l_cntrs_on_connected: SchListOfObjects) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub ListConnectedGRRs(SchAppConnectable iGRROwner,SchListOfBSTRs iLCntbleClassFilter,SchListOfObjects oLCntbleGRRs,SchListOfObjects oLCntbles,SchListOfObjects oLCntrsOnThisObj,SchListOfObjects oLCntrsOnConnected)Get a list of graphical objects that connects to this graphicrepresentation.Parameters:iGRROwnerA CATISchAppConnectable that owns this graphic representation. Inthe case of GRRCntr (this object), iGRROwner is the owner of the owner of thisgraphic.oLCntrClassFilterA list of all the class types for filtering the output applicationobjects list.oLCntbleGRRsA list of GRRs connected to this GRR. (members are CATISchGRRinterface pointers).oLCntblesA list of application objects connected to this object. (membersare CATISchAppConnectable interface pointers).oLCntrsOnThisObjA list of connectors on this object through which the connection ismade. (members are CATISchAppConnector interface pointers).oLCntrsOnConnectedA list of connectors on the connected objects through which theconnection is made. (members are CATISchAppConnector interface pointers).Members in this list corresponds to those in oLCntrsOnThisObj in making thecorresponding connections.Example:Dim objThisIntf As SchGRRDim objArg1 As SchAppConnectableDim objArg2 As SchListOfBSTRsDim objArg3 As SchListOfObjectsDim objArg4 As SchListOfObjectsDim objArg5 As SchListOfObjectsDim objArg6 As SchListOfObjects…objThisIntf.ListConnectedGRRsobjArg1,objArg2,objArg3,objArg4,objArg5,objArg6
- Parameters:
i_grr_owner (SchAppConnectable) –
i_l_cntble_class_filter (SchListOfBSTRs) –
o_l_cntble_gr_rs (SchListOfObjects) –
o_l_cntbles (SchListOfObjects) –
o_l_cntrs_on_this_obj (SchListOfObjects) –
o_l_cntrs_on_connected (SchListOfObjects) –
- Return type:
None
- set_grr_name(i_grr_name: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetGRRName(CATBSTR iGRRName)Set current name of the GRR.Parameters:iGRRNameThe name of this GRR to be set.Example:Dim objThisIntf As SchGRRDim strVar1 As String…objThisIntf.SetGRRNamestrVar1
- Parameters:
i_grr_name (str) –
- Return type:
None