Using schPlot() to send a plot to a file
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 schPlot() to send a plot to a file

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





Posted: Tue Sep 20, 2005 12:10 pm    Post subject: Using schPlot() to send a plot to a file Reply with quote

Hello,

I want to plot a schematic into a file. I tried using the skill function
schPlot() with the following options:

schPlotOptions = `(nil
library "myLib"
cell "myCell"
view "schematic"
version "0.0"
multisheet nil
indexsheet nil
hierarchy nil
copy 1
outputfile "/home/myHome/myCell.ps"
plotter "default A4 (b&w)"
papersize "A4"
plotsize (278.4262 197.4427)
offset (3.0269 0.0000)
unit "mm"
orientation "Automatic"
display "display"
tmpdir "/usr/tmp"
header nil
mail nil)

This created a plot of the schematic, but the plot was sent to the printer
and not to the specified file.

Who knows what I'm doing wrong and which other options or skill
functions I should use.

Thanks a lot,
Frank

Back to top
Bernd Fischer
Guest





Posted: Tue Sep 20, 2005 12:10 pm    Post subject: Re: Using schPlot() to send a plot to a file Reply with quote

You missed the 'plotToFile' argument in the
template file.

plotToFile t

A good starting point is to always create a first draft
template file form the GUI.

Bernd


Frank Buergel wrote:
Quote:
Hello,

I want to plot a schematic into a file. I tried using the skill function
schPlot() with the following options:

schPlotOptions = `(nil
library "myLib"
cell "myCell"
view "schematic"
version "0.0"
multisheet nil
indexsheet nil
hierarchy nil
copy 1
outputfile "/home/myHome/myCell.ps"
plotter "default A4 (b&w)"
papersize "A4"
plotsize (278.4262 197.4427)
offset (3.0269 0.0000)
unit "mm"
orientation "Automatic"
display "display"
tmpdir "/usr/tmp"
header nil
mail nil)

This created a plot of the schematic, but the plot was sent to the printer
and not to the specified file.

Who knows what I'm doing wrong and which other options or skill
functions I should use.

Thanks a lot,
Frank
Back to top
Bernd Fischer
Guest





Posted: Tue Sep 20, 2005 4:10 pm    Post subject: Re: Using schPlot() to send a plot to a file Reply with quote

Quote:

Instead I was searching the "Virtuoso Schematic Composer User Guide" but I
found no information about it. I also had a look at schPlotOptions list
after I plotted from the GUI - this didn't help, too.


Yes this is true if you want to dig deeper in details the documentation
in most cases is very poor.

Bernd

Back to top
Frank Buergel
Guest





Posted: Tue Sep 20, 2005 4:10 pm    Post subject: Re: Using schPlot() to send a plot to a file Reply with quote

On Tue, 20 Sep 2005 13:39:29 +0200, Bernd Fischer wrote:

Quote:
You missed the 'plotToFile' argument in the
template file.

plotToFile t

Thanks for this information, this is solving my problem.


Quote:
A good starting point is to always create a first draft
template file form the GUI.

Looking at the template would have helped - unfortunately I didn't have
this idea.

Instead I was searching the "Virtuoso Schematic Composer User Guide" but I
found no information about it. I also had a look at schPlotOptions list
after I plotted from the GUI - this didn't help, too.


Thanks a lot,
Frank Buergel
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