Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

leCARCommand

leCARCommand( 
t_replayFileName 
[ g_enterPointFlag ]
[ g_debugFlag ]
) 
=> l_recordedActions / nil

Description

(Layout EXL and higher tiers only) Replays the set of actions recorded in a .car file.

Arguments

t_replayFileName

Specifies the name of the file to be replayed. You need enter only the file name; the .car extension and the absolute path are not required.

g_enterPointFlag

A Boolean value indicating whether to run the replay file with a user-specified point or with the starting point saved in the recording.

  • t: Runs the replay with the user-specified point.
  • nil: Runs the replay at the exact same location as specified in the recording.

The default value is nil.

g_debugFlag

A Boolean value specifying whether to display the content of the replay file in the log file. This is for testing purposes.

The default value is nil.

Value Returned

l_recordedActions

Returns the series of actions that are performed while replaying the specified replay file.

nil

Recording could not be replayed successfully.

Example

The following example returns the series of actions that are performed while replaying the file createRectangle. The actions are performed at the points saved in the replay file.
leCARCommand("createRectangle")
t
lePointX = 1.472000
1.472
lePointY = 4.842500
4.8425
;                       
; ========================================================================= ;
;  FileName: "./.cadence/dfII/captureReplay/createRectangle.car"
;  Date: Feb  9 11:20:00 2023
;  Author: savt
;  Command Name: createRectangle
;  Command Description: Creates a rectangle
;  Group Name: Macros1
; ========================================================================= ;
;  Recorded part: 
t
;  Recorded part: 
t
The following example returns the series of actions performed while replaying the file createRectangle. The actions are performed at the user-specified point. 
leCARCommand("createRectangle" t)
(-5.034 4.071)
lePointX = -5.034000
-5.034
lePointY = 4.071000
4.071
t
;                       
; ========================================================================= ;
;  FileName: "./.cadence/dfII/captureReplay/createRectangle.car"
;  Date: Feb  9 11:20:00 2023
;  Author: savt
;  Command Name: createRectangle
;  Command Description: Creates a rectangle
;  Group Name: Macros1
; ========================================================================= ;
;  Recorded part: 

Related Topics

leCARStartCapture

leCARStopCapture

Capture and Replay Design Actions

Replaying Your Recorded Actions in a Design


Return to top
 ⠀
X