Jump to content

Again on Plot


PeterPan9720

Recommended Posts

Hi Guys !

Pls help me !

I'm working on the below code in order to plot sequentially more different layers of the same drawing.

But I need something to trig the end of the current plot before starting with another one I saw for example object.EndPlot(DrawingName) but I'm not able to insert in this code.

This routine works fine because for each plot a message appears of successfully plotted or not, but this unwanted.

Thank you.

 

Sub CreatePDF()

...... before page and printer setup instruction and code...

 

If PtObj.PlotToFile(MyNome(I), PlotConfig.ConfigName) Then 'plot to a file which name is inside the array MyNome()

MsgBox "PDF Was Created"

Else

MsgBox "PDF Creation Unsuccessful"

End If

.......

 

End Sub

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...