Using macros in composer/layout editor etc. similar to text
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Using macros in composer/layout editor etc. similar to text

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence
Author Message
jorobins
Guest





Posted: Fri Sep 16, 2005 6:31 am    Post subject: Using macros in composer/layout editor etc. similar to text Reply with quote

I sometimes find myself doing repetitive tasks with the schematic
composer which could be easily be repeated using some sort of macro
functionality similar to what is provided in MS Office tools/Emacs etc.
(I can imagine this being extremely useful in layout also). Is there
any such functionality available in the Cadence tools? This would be in
lieur of writing a SKILL program every time I need to do a task - using
a macro if I could record my keystrokes/menu commands /whatever else, I
would be able to repeat the macro thereby saving time...

If someone knows of some trick/SKILL pgm which does it, that would be
great

thanks,
Jose Robins

Back to top
tattvamasi@gmail.com
Guest





Posted: Fri Sep 16, 2005 7:33 am    Post subject: Re: Using macros in composer/layout editor etc. similar to t Reply with quote

Probably icfb -replay <.logfile> does what you ask for?
Havent played with it though..

Partha
Back to top
Tim
Guest





Posted: Fri Sep 16, 2005 12:10 pm    Post subject: Re: Using macros in composer/layout editor etc. similar to t Reply with quote

Yes it would be nice. Mentor has a define userware window which was a
text window that you could copy and paste from the command log file and
then compile it to a function. It also pointed out syntax errors.

A copy and paste (instead of yank and paste) would be extremely useful
also for adding common figures such as vias and poly contacts.

Tim

Back to top
jorobins
Guest





Posted: Tue Sep 20, 2005 5:48 am    Post subject: Re: Using macros in composer/layout editor etc. similar to t Reply with quote

here is the solution I finally came up with. The "replay" idea can be
made to work here in a slightly different way, assuming you are already
in a cadence session....

I'll call the set of actions that you want to repeat as a "macro".

To record a macro.- all of the ciw commands of course should be typed
without the double quotes (newbie proofing :) )....

1. in the ciw window type "hiStartLog(<fileName>)"
2. now do all the operations that you want recorded and these will be
recorded in the <fileName> log file
3. at the end of the macro, type in the ciw "hiEndLog()"
4. now you can type in the CIW window "hiReplayFile(<fileName>)" to
repeat the macro

hiLogDragEvents() and hiSetFilterOptions functions may also be useful
according to your particular situation. These functions are documented
in Chapter 2 of the cadence user interface skill functions reference
manual.

ciao,
Jose
Back to top
Gerry Vandevalk
Guest





Posted: Wed Sep 21, 2005 8:10 am    Post subject: Re: Using macros in composer/layout editor etc. similar to t Reply with quote

Remember to echo all of the U/I setting so automation is easier.

I recall that we were able to replay almost all cases of kit building except
a few exotic things.

( Pcell building was tricky ...
Context builds required care,
the Old-style complex arrays did not work,
shell return codes varied on cadence release ...
( when told it was a bug .. Cadence responded with "Replay files are not
documented to have return codes"
so much for some of our automated regression testing on internal Cadence
features ... we did hack the dfII kernel for
a few release to fix the bug ... but gave up after a while ... sigh )
)

None of my examples are for the casual hacker, but for the stout hearted
fool who must automate all.

-- Gerry





"jorobins" <wulf_homme@hotmail.com> wrote in message
news:1127177294.393787.316980@z14g2000cwz.googlegroups.com...
Quote:
here is the solution I finally came up with. The "replay" idea can be
made to work here in a slightly different way, assuming you are already
in a cadence session....

I'll call the set of actions that you want to repeat as a "macro".

To record a macro.- all of the ciw commands of course should be typed
without the double quotes (newbie proofing :) )....

1. in the ciw window type "hiStartLog(<fileName>)"
2. now do all the operations that you want recorded and these will be
recorded in the <fileName> log file
3. at the end of the macro, type in the ciw "hiEndLog()"
4. now you can type in the CIW window "hiReplayFile(<fileName>)" to
repeat the macro

hiLogDragEvents() and hiSetFilterOptions functions may also be useful
according to your particular situation. These functions are documented
in Chapter 2 of the cadence user interface skill functions reference
manual.

ciao,
Jose
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Contact Us
Powered by phpBB