pycatia.dnb_robot_interfaces.tcp_trace_manager_graphics¶
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.dnb_robot_interfaces.tcp_trace_manager_graphics.TCPTraceManagerGraphics(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectTCPTraceManagerGraphicsInterface used to modify the default graphical properties of TCPtraces.Role: This interface is used to overload the next TCP traces and pointsgraphical properties.A TCP trace is the graphical output of a task simulation. This output is thetrajectory path generated by the TCP, defined by lines and points. Each pointrepresents the location of the TCP at a given time.The following code snippet can be used to obtain a handle from aproduct:Dim MyRobot As Product‘retrieval of the product…‘retrieval of the trace managerDim objDevice As TCPTraceManagerGraphicsset objDevice = MyRobot.GetTechnologicalObject(“TCPTraceManagerGraphics”)Dim iR As LongDim iG As LongDim iB As LongDim iA As Long‘activate the traceobjDevice.SetTraceNextColor DNBTCPTraceRepLine,iR,iG,iB,iASee also:TCPTraceSee also:TCPTraceManager- set_next_thickness(i_rep: int, i_thickness: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetNextThickness(DNBTCPTraceReps iRep,long iThickness)Set the TCP trace component (DNBTCPTraceReps) thickness(for line, axis) fornew points.This method does not modify the type for the complete path (asTCPTrace.SetThickness does). Instead, it changes the current type to apply fornewly created points. This method is usefull, when the user interrupts thesimulation and want to render differently the next points to becreated.Parameters:iRepDNBTCPTraceReps. Define the graphical object the method will beapplied on. Input parameter.iThicknessIndicates the index width of the line in the range [1,55]. Thisindex is pointing on the true width in pixel, recorded in the standard (ifthere is one in the document) or in the setting. Input parameter.
- Parameters:
i_rep (int) – enum dnbtcp_trace_reps
i_thickness (int) –
- Return type:
None
- set_next_type(i_rep: int, i_type: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetNextType(DNBTCPTraceReps iRep,long iType)Set the TCP trace component (DNBTCPTraceReps) type for new points. Thismethod does not modify the type for the complete path (as TCPTrace.SetTypedoes). Instead, it changes the current type to apply for newly created points.This method is usefull, when the user interrupts the simulation and want torender differently the next points to be created. For points, legal values are:1 : CROSS2 : PLUS3 : CONCENTRICFor line and axis, legal values are :1 : solid2 : dotted3 : dashed4 : dot-dashed5 : phantomCall < to see the changes applied.Parameters:iRepDNBTCPTraceReps. Define the graphical object the method will beapplied on. Input parameter.iTypeLong.Depends on the DNBTCPTraceReps. Input parameter.Returns:HRESULT Returns S_OK if it succeeds, otherwise E_FAIL.
- Parameters:
i_rep (int) – enum dnbtcp_trace_reps
i_type (int) –
- Return type:
None
- set_trace_next_colour(i_rep: int, i_r: int, i_g: int, i_b: int, i_a: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetTraceNextColor(DNBTCPTraceReps iRep,long iR,long iG,long iB,long iA)Set the TCP trace component (DNBTCPTraceReps) color for new points. Thismethod does not modify the complete color path (as TCPTrace.SetColor does).Instead, it changes the current color to apply for newly created points. Thismethod is usefull, when the user interrupts the simulation and want to renderdifferently the next points to be created.Parameters:iRepDNBTCPTraceReps. Define the graphical object the method will beapplied on. Input parameter.iRLong. Red color component from 0 to 255. Input parameter.iGLong. Green color component from 0 to 255. Input parameter.iBLong. Blue color component from 0 to 255. Input parameter.iALong. Alpha color component from 0 to 255. Input parameter.
- Parameters:
i_rep (int) – enum dnbtcp_trace_reps
i_r (int) –
i_g (int) –
i_b (int) –
i_a (int) –
- Return type:
None